samba-bugs at samba.org
2013-Apr-06 20:18 UTC
[Bug 9770] New: Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770 Summary: Preserving ownership and permissions does not work Product: rsync Version: 3.0.9 Platform: x64 OS/Version: Linux Status: NEW Severity: critical Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: feliz.cha.cha.cha at gmail.com QAContact: rsync-qa at samba.org Options -a, -p, -o , -g does not work. Rsync is still changing ownership and perissions (running as superuser). Source dir contents: drwxrwsr-x 8 ivan media 8 ??? 7 02:00 audio drwxrwsr-x 15 root media 15 ??? 20 16:34 backup drwxrwxr-x 3 ivan media 3 ??? 19 15:26 dibujos drwxrwsr-x 6 ivan media 6 ??? 16 10:07 dist drwxrwsr-x 9 ivan ivan 10 ??? 5 2012 gente drwxrwsr-x 12 ivan media 12 ??? 26 11:34 textos Command: rsync -a Source/* Dest/ Destination dir result: drwxrwsr-x 8 ivan media 4,0K ??? 7 02:00 audio drwx------ 2 root root 4,0K ??? 7 00:14 backup drwx------ 2 root root 4,0K ??? 7 00:14 dibujos drwx------ 2 root root 4,0K ??? 7 00:14 dist drwx------ 2 root root 4,0K ??? 7 00:14 gente drwx------ 2 root root 4,0K ??? 7 00:14 textos I would be grateful for you response. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Apr-06 22:56 UTC
[Bug 9770] Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770 --- Comment #1 from Kevin Korb <rsync at sanitarium.net> 2013-04-06 22:56:16 UTC --- Try: rsync -vai Source/ Dest/ Also, verify that you are running rsync as root and that the target filesystem supports such features. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Apr-07 03:43 UTC
[Bug 9770] Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770 --- Comment #2 from Kevin Korb <rsync at sanitarium.net> 2013-04-07 03:43:11 UTC --- Oh, also, now that I look at this again (it was still open in my browser when I got home).... Are you looking at this while it is running or aborting rsync before it finishes? Rsync creates directories with default ownership and 700 permissions to make sure it doesn't get a permission denied error when it tries to add files. Once it is done with a directory it goes back and sets the ownership, group, permissions, and timestamps. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Apr-07 07:30 UTC
[Bug 9770] Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770 --- Comment #3 from Ivan <feliz.cha.cha.cha at gmail.com> 2013-04-07 07:30:06 UTC --- (In reply to comment #2)> Oh, also, now that I look at this again (it was still open in my browser when I > got home).... > > Are you looking at this while it is running or aborting rsync before it > finishes? Rsync creates directories with default ownership and 700 permissions > to make sure it doesn't get a permission denied error when it tries to add > files. Once it is done with a directory it goes back and sets the ownership, > group, permissions, and timestamps.OK, I will check this. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-May-26 23:53 UTC
[Bug 9770] Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Wayne Davison <wayned at samba.org> 2013-05-26 23:53:32 UTC --- Yeah, that looks like the early dir creations for an incremental transfer that would get fixed up later in the transfer when the actual directory info is sent. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.