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

Re: max n of groups per user?



On Thu, Aug 24, 2000 at 02:43:16AM -0700, Nate Amsden wrote:
> the limit is 32, it is on slink, assume it is on potato as well. to
> eliminate the need to change owner or group every time anybody copies
> into a user's home directory(or any directory for that matter) make the
> directory suid, and sgid. that way all files in that directory should
> inherit the same ownership as the directory itself.

not quite, sgid will cause new files to inherit the group of the
parent directory a la BSD.  but nothing will cause the owner to be
changed.  suid on directories does nothing.  only way to change owners
is to be root or have CAP_CHOWN. 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgppcfUByv5fb.pgp
Description: PGP signature


Reply to: