User properties and how to make files with a specific group owner

Jerry McAllister jerrymc at msu.edu
Thu Jul 10 17:03:50 UTC 2008


On Thu, Jul 10, 2008 at 05:32:15PM +0200, Mel wrote:

> On Thursday 10 July 2008 17:12:36 Jerry McAllister wrote:
> > On Thu, Jul 10, 2008 at 01:45:00PM +0200, Mel wrote:
> > > On Thursday 10 July 2008 04:26:42 Andrew Falanga wrote:
> > > > How do I get this to stop working like this and create files
> > > > with UID=andy GID=www?
> > >
> > > Just a head's up: www is the group id from Apache by default, so doing
> > > this, you'll make the files writeable by the webserver, generally not
> > > something you want to do.
> >
> > Only if the files have group write permission.   Or was
> > that covered in this thread already?
> >
> 
> I assumed it, since they want to work with 3 people on the same files.

OK.  I missed that part.

Sounds like they need to set up a virtual host tied to a login
address - eg create a user, add content to user's public_html
directory and make that ~newuser/public_html/  directory be the
document root for the virtual host web site.   Give those 3 users
write access to that public_html directory, probably by making a
unique group for it, making it group writable and world readable
and put those users in that group.

Playing around with ACLs would be more interesting for it.

////jerry

> 
> -- 
> Mel
> 
> Problem with today's modular software: they start with the modules
>     and never get to the software part.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list