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

Re: chmod quiestion



On Fri, 21 Dec 2001 14:39:23 +0800, pahud@pahud.net wrote:

> Hello list,
> 
> Providing I have a directory /grpdir and chmod it to 775. If a user of
> that group creates a subdirectory under it, say /grpdir/subdir, the subdir
> will have 755 as it's default mode.
> 
> How to force the files and subdirectories under /grpdir to have the same
> chmod value and user.group value?

You probably want to set the group id "g+s", and possibly the "sticky" bit.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: