Have a functional rsync 3.0.6 server but am having troubles preserving permissions from source to destination. On server, rsyncd.conf looks like this (modules are defined but not listed below): cat /etc/rsyncd.conf secrets file = /etc/rsyncd.secrets read only = no list = yes uid = root gid = wheel On client am using -ApXrvvhog option and here are some errors am getting: rsync: pack_smb_acl sys_acl_set_info(): Operation not supported (45) rsync: pack_smb_acl sys_acl_set_info(): Invalid argument (22) rsync: pack_smb_acl sys_acl_set_info(): Invalid argument (22) rsync: set_acl: sys_acl_set_file(New Fonts/Feb 6/.TC-Black.bmap.2Z6Ex6, ACL_TYPE_EXTENDED): Invalid argument (22) Files do get copied properly but ACLs are lost. Any way to fix this? :) -- View this message in context: http://www.nabble.com/rsync-3.0.6-ACLs-under-MacOS-10.4-tp23544452p23544452.html Sent from the Samba - rsync mailing list archive at Nabble.com.
to preserve Mac OS X ACL's and extended attributes you have to be rsyncing to another Mac or at least a volume formatted with HFS+. If your rsync server is not a Mac and the HFS+ partition does not have ACL's turned on then the ACL's and extended attributes won't be copied. David. ----- Original Message ----- From: "gigagigosu" <cmiron@metroland.com> To: rsync@lists.samba.org Sent: Thursday, May 14, 2009 9:44:05 AM GMT -08:00 US/Canada Pacific Subject: rsync 3.0.6 ACLs under MacOS 10.4 Have a functional rsync 3.0.6 server but am having troubles preserving permissions from source to destination. On server, rsyncd.conf looks like this (modules are defined but not listed below): cat /etc/rsyncd.conf secrets file = /etc/rsyncd.secrets read only = no list = yes uid = root gid = wheel On client am using -ApXrvvhog option and here are some errors am getting: rsync: pack_smb_acl sys_acl_set_info(): Operation not supported (45) rsync: pack_smb_acl sys_acl_set_info(): Invalid argument (22) rsync: pack_smb_acl sys_acl_set_info(): Invalid argument (22) rsync: set_acl: sys_acl_set_file(New Fonts/Feb 6/.TC-Black.bmap.2Z6Ex6, ACL_TYPE_EXTENDED): Invalid argument (22) Files do get copied properly but ACLs are lost. Any way to fix this? :) -- View this message in context: http://www.nabble.com/rsync-3.0.6-ACLs-under-MacOS-10.4-tp23544452p23544452.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- 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
sorry, i forgot to mention that both client and server are running MacOS 10.4 (client is 10.4.8 and server is 10.4.11) and both source and destination are HFS+ Journaled, both machines are G5 PowerPC xserves. Partition scheme on both source volume and destination volume is Apple Partition Map. Also, both source and destination have ACLs enabled for over 1 year and servers were restarted a couple of times. Interesting is that rsync running between 2 local volumes preserves ACLs (same -ApXrvvhog option) so this issue occurs only in a client-server configuration. -- View this message in context: http://www.nabble.com/rsync-3.0.6-ACLs-under-MacOS-10.4-tp23544452p23551242.html Sent from the Samba - rsync mailing list archive at Nabble.com.
Maybe Matching Threads
- 3.0.3pre2 compile warnings under cygwin
- DO NOT REPLY [Bug 7382] New: Fails to copy with ACL issue if src user is unknown (OSX 10.6 only)
- make errors, rsync 2.6.9 with acls patch
- Rsync 3.0.3 with patches on OS X 10.4.11 fails to copy ACLs
- Rsync 3.0.3 with patches on OS X 10.4.11 fails to copy ACLs