samba 4 xattrs
Bogdan Bartos
admin at blackpenguin.org
Mon May 27 14:50:13 MDT 2013
I tried to look in with mc and accessed the file attributes. Normally I should see something like root/3000, but I only see root/root ownerships. I will unpack it and see. What is the untar option to unpack with the attributes in place?
------Original Message------
From: Marc Muehlfeld
To: Eu
Cc: samba-technical at lists.samba.org
Subject: Re: samba 4 xattrs
Sent: May 27, 2013 2:46 PM
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
-----------------------
BlackPenguin.Org Admin | Linux administration
h. 1.403.266.1513 | c. 1.403.919.5699
admin at blackpenguin.org | http://www.blackpenguin.org
More information about the samba-technical
mailing list