https://bugzilla.samba.org/show_bug.cgi?id=7382
Summary: Fails to copy with ACL issue if src user is unknown (OSX 10.6 only) Product: rsync Version: 3.0.7 Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: san...@yahoo.com QAContact: rsync...@samba.org If src file or directory (with certain ACLs) was created by a user that is unknown on local machine rsync will fail to copy. This issue is new for OSX 10.6.(3) and does happen with 10.5.8 note:/bin/cp works fine. Example Definitions: DIR-LOCAL-USER : Src directory created by a local user on local machine. DIR-UNKNOWN-USER : Src directory created by local user on another machine. Directory/Disk was then mounted on local machine. DIRB : target dir on local machine rsync: rsync 3.0.7 running on OSX 10.6.3 --- rsync works when src dir was created by local user --- ls -lde DIR-LOCAL-USER drwx-wx-wx+ 3 admin staff 102 Apr 1 10:59 DIR-LOCAL-USER 0: user:admin allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit rsync -aA DIR-LOCAL-USER DIRB ls -lde DIRB drwx-wx-wx+ 3 admin staff 102 Apr 1 10:59 DB 0: user:admin allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit --- rsync 3.0.7 fails with acl issue if user is unknown ---- ls -lde DIR-UNKNOWN-USER drwx-wx-wx+ 3 2195 staff 102 Jun 4 2009 DIR-UNKNOWN-USER 0: FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000893 allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit rsync -aA DIR-UNKNOWN-USER DIRB rsync: unpack_smb_acl: sys_acl_get_info(): Unknown error: 0 (0) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1040) [sender=3.0.5] ls -lde DIRB ls: DB: No such file or directory --- OSX 10.6.3 cp works fine ---- /bin/cp -ap DIR-UNKNOWN-USER DIRB ls -lde DB drwx-wx-wx+ 3 2195 staff 102 Jun 4 2009 DIRB 0: FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000893 allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit --------- same issue with remote machine copy ---- Also note this fails when copying dir from a remote machine: rsync -aAe ssh remote-machine:/DIR-UNKNOWN-USER DIRB error result looks like this: pack_smb_acl sys_acl_set_info(): Operation not supported -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. -- 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