[Samba] rsync sysvol problem

steve steve at steve-ss.com
Tue Oct 16 06:16:27 MDT 2012


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






More information about the samba mailing list