On Sat, Feb 3, 2018 at 5:20 AM, Dave Gordon via rsync <firstname.lastname@example.org
> [...fake-super symlink saved as a file...]
This results in the copy being world-writable.
Indeed. The file initially gets created as a mode-600 file, but the code
later tweaks the permissions to match the symlink, which is (as you note) a
My first reaction is to change the code in set_stat_xattr() (in xattrs.c)
if (fst.st_mode != mode)
if (fst.st_mode != mode && !S_ISLNK(file->mode))
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html