samba-bugs at samba.org
2009-Nov-27 21:35 UTC
DO NOT REPLY [Bug 6936] New: rsync silently fails to preserve uid/gid of -1
https://bugzilla.samba.org/show_bug.cgi?id=6936
Summary: rsync silently fails to preserve uid/gid of -1
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: matt at mattmccutchen.net
QAContact: rsync-qa at samba.org
Apparently cygwin "stat" can sometimes return a uid or gid of -1.
Since the
"chown" syscall takes -1 to mean "don't change this
field", rsync silently
fails to preserve the source ownership. This problem came up on the rsnapshot
list:
https://sourceforge.net/mailarchive/forum.php?thread_name=1259202707.2009.382.camel%40mattlaptop2.local&forum_name=rsnapshot-discuss
Rsync should issue an FERROR_XFER in this case. I was inclined to have the
receiving side do it because the limitation is in the receiving side's chown
call, but it also looks like -1 has a special meaning to the uid-mapping code,
so maybe the sender needs to catch the value before it causes trouble there.
--
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 at samba.org
2011-Feb-22 18:53 UTC
DO NOT REPLY [Bug 6936] rsync silently fails to preserve uid/gid of -1
https://bugzilla.samba.org/show_bug.cgi?id=6936
wayned at samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #1 from wayned at samba.org 2011-02-22 12:53 CST -------
This is now fixed in the git repo.
--
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
- [LLVMdev] DragonEgg 3.0 for win32
- Link-dest breaks on uid/gid mismatches
- DO NOT REPLY [Bug 6915] New: Reject passing an argument to an option that doesn't take one
- Samba 4 two DCs no matching UID/GID
- Issue when calling deparse(substitute(x)) from C with "anonymous" R vectors ?