Answer the question
In order to leave comments, you need to log in
Rsync, how to set permissions on a directory?
Hi all! I hope to help!
Here is my Rsync script:
rsync -a --delete --recursive --ignore-errors --stats --exclude '*eaDir' --exclude '*2012*' --delete-excluded /volume2/Photos/ /volume1/ CopyPhoto/
Only user 777 has access to the "/volume2/Photos/"
folder (for example) And users 777 and 555 have access to the "/volume1/Photocopy/" folder
And here's the problem: the files are copied to the "CopyPhoto" folder, but the user 555 cannot access files. Because the copied files have a different "owner"
How to make Rsync copy files so that user 555 in the "CopyPhoto" folder can have access to them. After all, initially the folder "CopyPhoto"
It's just that after Rsync, user 555 can't see the contents of that folder.
I hope I explained well, sorry if that. I will be grateful for your help! Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question