ACL Extended Attributes + Samba 2.2.1a

Anthony J. Breeds-Taurima tony at cantech.net.au
Thu Oct 18 02:05:07 GMT 2001


On Thu, 18 Oct 2001, Virgo wrote:

> Hi Samba Team, administrators and users!
> There is a core 2.2.19 with Extended Attributes and Access Control Lists
> for Linux support.
> Samba 2.2.1a was compiled with the parameter --with-acl-support
> Problem:
> When I create the file or directory on the disk there are rights of
> object without Extented ACL.
> Example:
> # ls -al test/
> total 16
> drwxrwxr-x 2 root root 4096 Oct 18 11:41./
> drwxrwx --- 143 virgo engineer 4096 Oct 18 11:41../
>    # getfacl test/
>    # file: test/
>    # owner: root
>    # group: root
> user:: rwx
> group:: r-x
> group:users:rwx
> mask:: rwx
> other:: r-x
> When I create the file in the directory "test" through NT Explorer, I
> think that this file must be created with Extented ACL, but
> # ls -al test/

Yes you need to set a default value for your directories.

See:
http://acl.bestbits.at/example.html
for a brief infto and the man pages for more info.

I guess what you want is:
cd <whereverer>
setfacl -dg:user:rwx . -R

This is an ACL's question NOT a samba question.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */





More information about the samba-ntdom mailing list