[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)



On Aug 25, 5:30 pm, Eduardo M KALINOWSKI <edua...@kalinowski.com.br>
wrote:
> 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-

1M TX for your reply!
clearly I'm weak on the capabilities of set(u/g)id, and have some
reading to do!

TX again!


Reply to: