On 10/24/06, Mark Shellenbaum <[EMAIL PROTECTED]> wrote:
Chris Gerhard wrote:
>
> I want a file system that is shared by the group. Everything in the file
> system writable by the group no matter what the umask.
>

The simplest way to do something like that would be:

# zfs create pool/fs
# chmod A+group:<whatever>:<perms desired>:fd:allow pool/fs

OK, so I tried this:

Create a directory.

% mkdir -m 770 a

Make everything be group writeable.

% chmod A+group@:rwxp:fd:allow a

Create a file.

% touch a/f

What permissions does it have?

% /bin/ls -ldV a/f
-rw-r--r--+  1 ptribble 5000           0 Oct 27 22:49 a/f
            group@:--------------:------:allow
            owner@:--x-----------:------:deny
            owner@:rw-p---A-W-Co-:------:allow
            group@:-wxp----------:------:deny
            group@:r-------------:------:allow
         everyone@:-wxp---A-W-Co-:------:deny
         everyone@:r-----a-R-c--s:------:allow

No. That doesn't work. For one thing, the file isn't group writable.
For another, it's picked up an unnecessary ACL.

What is the syntax to create an ACL on a directory so that
everything underneath is group-writable?

--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to