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

Re: default group




charles@lunargraphics.net wrote:
> 
> Is it possible to force files and directories created by a user to belong
> to a specific group *other* than that user's primary group? and moreover,
> a group that said user is not a member of?
> What I am really getting at is, I am hoping to force users to create files
> and directories with a default group of nobody.
> I know that this may sound a bit unusual, but these users would *only* be
> used for creating web accessible files.
> 
> cjm

I don't think so.  Only root can set a file's group to something other
then themselves.  Perhaps just run some sort of cron job as root that
does a "chgrp -R nobody /home/user/public_html" or so.

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.