[Bug 9770] New: Preserving ownership and permissions does not work

samba-bugs at samba.org samba-bugs at samba.org
Sat Apr 6 14:18:20 MDT 2013


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.


More information about the rsync mailing list