You are not logged in.
Pages: 1
Hi fellow geeks ![]()
I hope you can help me with this one. I've set a cron job to automatically backup my files everyday which has worked wonderfully so far.
Looks like this:https://i.imgur.com/IuAbHOj.jpg
The issue is that this new program I'm using to transfer files (Resilio Sync) keeps all the rights on the files, so I can't use the backup script. Resilio is kinda like Dropbox.
Here is the file permissions:
https://i.imgur.com/rUtVWkA.jpg
I can fix it with sudo chown -R username, so the backup script works, but then if I upload a new file via the program then I would have to change the permissions all over again for the script to work.
Because the user "rslsync" is in control.
Am I missing something obvious here? I can't run the crontab as the Resilio user.
Thank you very much.
Last edited by Kimyeti (2018-08-20 18:47:36)
Offline
1. Do not post screenshots of text, paste the actual text, in code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
2. Read the rsync man page: it has specific options for preserving file ownership, etc
Not an Installation issue, moving to NC...
Offline
Pages: 1