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

Re: Can a user's default file creation mode use a group they're not a member of? (chroot/rssh issue)



Bob Goldberg wrote:
> is there a way to have my users' file creation default to  group=chadm
> - WITHOUT having them IN the chadm group?

If the directories where files will be written has group=chadm and the
setgid bit set (set with chmod g+s PATH), then files created in that
directory by default will have group=chadm. Whether the user belongs to
that group makes no different.

-- 
The grave's a fine and private place,
but none, I think, do there embrace.
		-- Andrew Marvell

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
http://move.to/hpkb


Reply to: