samba-bugs at samba.org
2012-May-14 17:23 UTC
[Bug 8941] New: Solved problem with hard links and schg flag
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: wayned at samba.org ReportedBy: franz at electromail.org QAContact: rsync-qa at 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.