Users, Groups, and Sticky Bits, oh my!
Rui Miguel Seabra
rms at 1407.org
Wed Jun 16 20:03:27 UTC 2004
On Wed, 2004-06-16 at 15:38 -0400, John Nichel wrote:
> Hi list,
>
> I'm pulling my hair out trying to figure out how to do what I want to
> do with stick bits, umask, etc., but am having no luck. AFAIK, it may
> not even be possible, but here's what I would like to do.
>
> Let's say I have a directory named 'bob', owned by 'foo' and in the
> group 'bar', with rwxrwxr-w permissions. How can I make it to where
> when a file/directory is created in the 'bob' directory is owned by
> 'foo' and in the group 'bar' with permissions of 664/775 no matter who
> creates the file/directory? TIA
Hi,
Without acls the answer is, I think, you can't.
However, you can have the users share a group and force file ownership
and permissions....
chmod ug+s .
chmod 0770 .
chown foo:bar
Users must be in group bar.
Hugs, Rui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040616/613b4ac5/attachment-0001.sig>
More information about the fedora-list
mailing list