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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to