Re: Users, Groups, and Sticky Bits, oh my!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux