[Samba] rsync sysvol problem

Rowland Penny rpenny at f2s.com
Tue Oct 16 06:57:49 MDT 2012


On 16/10/12 13:16, steve wrote:
> samba --version
> Version 4.0.0rc3-GIT-293b100
>
> Hi
> I have a problem backing up my sysvol folder.
>
> Here is the acl after running:
> samba-tool ntacl sysvolreset
>
>  getfacl /usr/local/samba/var/locks/sysvol/
> getfacl: Removing leading '/' from absolute path names
> # file: usr/local/samba/var/locks/sysvol/
> # owner: Administrator
> # group: wheel
> # flags: s--
> user::rwx
> user:Administrator:rwx
> group::rwx
> group:wheel:rwx
> group:3000000:r-x
> group:3000001:rwx
> group:3000002:r-x
> mask::rwx
> other::---
>
> I then try to back it up, e.g.
> rsync -auzv /usr/local/samba/var/locks/sysvol /usr/local
>
> But the ACL is not preserved:
>
> getfacl /usr/local/sysvol
> # file: sysvol
> # owner: Administrator
> # group: wheel
> # flags: s--
> user::rwx
> group::rwx
> other::---
>
> Am I missing an option with rsync -auzv?
>
> Cheers,
> Steve
>
>
>
>
Hi Steve, how about:  -A, --acls                  preserve ACLs (implies 
--perms)

Rowland


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list