reno
2012-Jul-09 13:30 UTC
Setting destination permissions while keeping real permissions in xattr
Hello, Is there any way with rsync to completely set file permissions on destination (like 0440 for files and 0550 for directory) while still memorizing real (source) permissions in extended attributes (with --perms and --fake-super) ? --chmod is of no help in this case. I've been using rsync for a long time but wasn't able to find a way to do this other than fixing permissions after transfer. Thanks, Reno
Apparently Analagous Threads
- Permissions of the top-level destination directory without --perms
- DO NOT REPLY [Bug 7112] New: --fake-super should use default permissions for real files
- Destination file a lot larger then source (real size)
- Would you expect --perms -M--fake-super to set the file mode to the original one?
- Why does --xattrs imply --perms?