[Bug 10325] New: Links to files marked schg (system immutable) fail

samba-bugs at samba.org samba-bugs at samba.org
Sun Dec 15 14:00:06 MST 2013


https://bugzilla.samba.org/show_bug.cgi?id=10325

           Summary: Links to files marked schg (system immutable) fail
           Product: rsync
           Version: 3.1.0
          Platform: x64
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: rkoberman at gmail.com
         QAContact: rsync-qa at samba.org


On FreeBSD 9.2 on amd64 system the following command is broken if a destination
file marked schg already exists:
rsync -axHAXSv --fileflags --force-schange --delete /usr/ /media/usrbak/

rsync: link "/media/usrbak/bin/chsh" => bin/ypchfn failed: Operation not
permitted (1)
rsync: link "/media/usrbak/bin/chpass" => bin/ypchfn failed: Operation not
permitted (1)
rsync: link "/media/usrbak/bin/chfn" => bin/ypchfn failed: Operation not
permitted (1)
rsync: link "/media/usrbak/bin/.ypchpass.2878" => bin/ypchfn failed: Operation
not permitted (1)
rsync: link "/media/usrbak/bin/.ypchpass.2878" => bin/ypchsh failed: Operation
not permitted (1)
rsync: link "/media/usrbak/bin/.ypchfn.2878" => bin/ypchsh failed: Operation
not permitted (1)
Hlink node data for 184 already has path=bin/ypchfn (bin/ypchfn)
rsync error: errors with program diagnostics (code 13) at hlink.c(543)
[generator=3.1.0]
Exit 13

Note that the final error is fatal.

rsync was built with the RENAME and FLAGS patches.

-- 
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