samba 4 xattrs
Marc Muehlfeld
samba at marc-muehlfeld.de
Mon May 27 14:46:14 MDT 2013
Hello,
Am 27.05.2013 20:30, schrieb bogdan_bartos:
> I did a backup on samba 4.0.6, but prior to that, I added the --xattrs to
> the tar command in the script. The backup ran fine, but when I go to look at
> the file/folder permissions in the tar.gz files, they all show up as root.
> Is this ok? What is the best way to restore, so I keep the permissions in
> place?
If you backup with tar --xattrs, the owner should be preserved. My tar
on RHEL6 does. E. g.:
-rwxrwx--- root/Administrators 20 2012-10-18 10:05
2013-05-27_20-55-01/usr/local/samba/var/locks/sysvol/muc.medizinische-genetik.de/scripts/Default
User.V2/ntuser.ini
Did you unpacked the tar.gz? Or did you looked inside with something
that shows the file listing like 'less'?
Regards
Marc
More information about the samba-technical
mailing list