samba 4 xattrs

Rob Verduijn rob.verduijn at gmail.com
Tue May 28 02:16:09 MDT 2013


interesting,

it seems the tar program used on openSUSE is different from the one on
redhat/centos/fedora

another little thing learned.

btw after a little googleing I found this page that explains it nicely
http://www.cyberciti.biz/faq/linux-tar-rsync-preserving-acls-selinux-contexts/

Regards
Rob

2013/5/27 Marc Muehlfeld <samba at marc-muehlfeld.de>:
> Am 27.05.2013 22:50, schrieb Bogdan Bartos:
>
>> 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?
>
> Just unpack like every other .tar.gz (tar -zxf ...)
>
>
>
>
> # tar -zxf 2013-05-27_20-55-01.tar.gz
>
>
> # ls -la 2013-05-27_20-55-01/usr/local/samba/var/locks/sysvol/
> insgesamt 12
> drwxrwx---+ 3 root Administrators   40 12. Sep 2012  .
> drwxr-xr-x  3 root root           4096 27. Mai 20:55 ..
> drwxrwx---+ 4 root Administrators   35 27. Sep 2012
> muc.medizinische-genetik.de
>
>
> # getfacl 2013-05-27_20-55-01/usr/local/samba/var/locks/sysvol/
> # file: 2013-05-27_20-55-01/usr/local/samba/var/locks/sysvol/
> # owner: root
> # group: Administrators
> user::rwx
> user:root:rwx
> group::rwx
> group:Administrators:rwx
> group:Server\040Operators:r-x
> group:3000000:rwx
> group:3000001:r-x
> mask::rwx
> other::---
> default:user::rwx
> default:user:root:rwx
> default:group::---
> default:group:Administrators:rwx
> default:group:Server\040Operators:r-x
> default:group:3000000:rwx
> default:group:3000001:r-x
> default:mask::rwx
> default:other::---


More information about the samba-technical mailing list