samba-bugs@samba.org
2006-Mar-10 04:37 UTC
DO NOT REPLY [Bug 3596] New: rsync fails to retouch S_IWUSR when transferring a single empty directory
https://bugzilla.samba.org/show_bug.cgi?id=3596 Summary: rsync fails to retouch S_IWUSR when transferring a single empty directory Product: rsync Version: 2.6.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: hashproduct@verizon.net QAContact: rsync-qa@samba.org Run the following in an empty directory: mkdir test chmod 400 test rsync --dirs --perms test test2 test2 incorrectly ends up with 600 permissions because rsync sees that a local name is in use and assumes the directory retouching phase is unnecessary. rsync should run the phase anyway and deal with a local name if there is one. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2006-Mar-10 04:50 UTC
DO NOT REPLY [Bug 3596] rsync fails to retouch S_IWUSR when transferring a single empty directory
https://bugzilla.samba.org/show_bug.cgi?id=3596 ------- Comment #1 from hashproduct@verizon.net 2006-03-09 22:49 MST ------- Created an attachment (id=1781) --> (https://bugzilla.samba.org/attachment.cgi?id=1781&action=view) Fixes the bug by running directory retouching even when there's a local name -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2006-Mar-10 16:00 UTC
DO NOT REPLY [Bug 3596] rsync fails to retouch S_IWUSR when transferring a single empty directory
https://bugzilla.samba.org/show_bug.cgi?id=3596 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from wayned@samba.org 2006-03-10 10:00 MST ------- I decided to fix this by preventing a local_name transfer from tweaking the directory's permissions in the first place (since there's no need for it to have write permission if nothing is going inside it). The fix is now in CVS. Thanks! -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Apparently Analagous Threads
- DO NOT REPLY [Bug 4412] New: --dry-run output inaccurate due to implied symlink
- DO NOT REPLY [Bug 4413] New: Rsync skips too many files after failing to create a directory
- DO NOT REPLY [Bug 4080] New: rsync can't find basis dirs with -n and nonexistent destination
- DO NOT REPLY [Bug 3829] New: rsync loses access ACLs on transferred files
- DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client