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

           Summary: Solved problem with hard links and schg flag
           Product: rsync
           Version: 3.0.9
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P5
         Component: core
        AssignedTo: way...@samba.org
        ReportedBy: fr...@electromail.org
         QAContact: rsync...@samba.org


Created attachment 7559
  --> https://bugzilla.samba.org/attachment.cgi?id=7559
Patch for syscall.c

Hi!

Using rsync under FreeBSD with hard links and files having schg set result in
EPERM "Operation not permitted". This behavior can be observed if rsyncing
/usr/bin/.

The patch fileflags.diff tries to deal with this situation but changes the
flags of the parent directory only. It doesn't change the flags of the files
itself.

do_link() in syscall.c has to be fixed. patch-syscall.c.txt is a patch which
have the be applied after fileflags.diff.

Best regards
Franz

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