permissions of files created by rsync from windows share
I'm mounting my windows share on my linux backup server and using rsync to backup the files. But the files are created with permission
rwxrwSrwx and I cannot see them when I'm browsing my samba server. If I set the permission to chmod 700 then I can see the files. I was wondering if it is possible to just write the files with 700 when using rsync? |
You can supply the flag "--chmod=u=rwx,go=" to the rsync command. Of course, this means that you will lose all the NTFS permissions in the backup.
|
Quote:
:hattip: |
All times are GMT -5. The time now is 01:09 AM. |