View Single Post
Old 01-20-2018, 08:38 AM   #7
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by ckronengold View Post
I thought chmod 775 -R would have handled all of that. No?

At this point, it honestly seems easier just to do a clean import and rebuild the library where I want it rather than moving an old library from an old computer to a server with different users and permissions.

I've set up a user 'calibre' and am putting the library in the /home/calibre folder to minimize the number of issues. I'll run the GUI to import and build the library and then leave the calibre-server.service to handle the rest once I shut the GUI.
If calibre is running as a user “calibre”, you'll need to make sure you “chown -R calibre” the library directory (or at least chown it to a group that user is in) as well as your chmod 775.

chmod 777 (as mentioned) would allow calibre access, but it'd also allow anything to write/overwrite/delete from your library. Giving non-user/group write privileges is generally a bad idea, except in very limited circumstances combined with the sticky bit (e.g. /tmp, and even there it's been responsible for a lot of security problems via races and the like).
sjfan is offline   Reply With Quote