Re: Restrict user to change group permission

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

 



On Mon, Nov 22, 2004 at 03:09:05PM -0500, Reuben D. Budiardja wrote:
> 
> Is there a way to make any file and sub-directory under a directory is owned 
> by a certain group, have permission 'rw' for that group by default, 
> regardless who created the file and how the file was created, and restricted 
> for any user to change the group permission (ie. I want the group permission 
> to always be 'rw' so that even the user who created the file under that 
> directory cannot change the group permission )

You can start with a chmod g+s /directory

However, the owner a file can pretty much do what he wants, including
changing the permissions.  SELinux might change that - I haven't
researched this at all.


-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux