View Single Post
Old 06-07-2014, 07:42 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,166
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by LoRdAc][d View Post
I was able to fix this problem. The Auto Add not working on local folders was solved by doing a chmod 777 on all files in the auto add directory.

I am now doing a cron scheduled rsync with a mounted remote folder that exists on my NAS to a local folder on Ubuntu that Calibre scans. I also have the NAS folder linked to a dropbox folder, so I can add books to my Calibre library from anywhere I have access to my Dropbox.

If anyone is curious how I did this:

I linked a folder on my Dropbox to a folder on my NAS using mklink in the Windows 7 command line.

I then mounted that NAS folder on ubuntu by modifying /etc/fstab

I then setup a 1 minute cron job to rsync the mounted folder with a local folder, using the --remove-from-source option so files aren't re-synced

For this to work, I also added a 1 minute cron job to chmod 777 all files in the local folder

Calibre is set to auto add from that local folder

Hope that helps anyone out there trying a similar setup as mine.
777 is a clear sledge hammer approach: 771 won't work?
Who is the owner of the files, maybe a chown is needed on the files
theducks is offline   Reply With Quote