View Single Post
Old 09-29-2011, 03:20 PM   #5
mclien
42, the answer
mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.
 
Posts: 124
Karma: 17798
Join Date: Sep 2011
Location: Germany
Device: Pocketbook 603
Oh thanks, nice hint.
Did some testing earlier today (with static nfs mounts). Seems that calibre isn't using the users umask (at least when set in ~/.bashrc).
I set one user to umask 0002 (which generates files with perm 775, but when starting calibre, the metadata.db and the book dirs are generated with 755.
The idea was setting up another user and give the second one write access trough the set umask.

So I still need to have a "close script" for calibre to set the permitions via chmod to 775.
Or is there a more elegant way?

Last edited by mclien; 09-29-2011 at 03:23 PM.
mclien is offline   Reply With Quote