View Single Post
Old 04-03-2020, 03:41 PM   #1
Smith_oo4
Junior Member
Smith_oo4 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2020
Device: none
Set UNIX Permissions of files in library

Is there a way to set the UNIX file permissions on files and directories Calibre creates in a library when a new book is added? That is something like a chmod mask?

I like to set the setgid bit on directories so any new file or directories inherits the group of the parent directory. This way I can create a common group "media" and add any user that need access to the file or directories (e.g. myself, LazyLibrarian, etc.) to that group. To do this directorys need to be 2775 and files 0664.

Thank you,
Morgan Smith
Smith_oo4 is offline   Reply With Quote