tom panzarella on Mon, 23 Apr 2001 11:38:17 -0400


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

Re: [PLUG] mult groups own a dir?


You can try going the other way (i.e. rather than trying to have muliple groups own a file have multiple users in a single group that owns the file). You can do this with the "useradd" command:

useradd html -d /home/html -g html -G apache,other_group

This adds a new user "html" with a home directory of "/home/html" in the initial group of "html" with membership in secondary groups "apache" and "other_group".

--t.

Michael Whitman wrote:

Multiple groups can own a directory right?
I don't see in the 'chown' man page how to do this?
Say the 'apache' group owns a dir, and I want to give the 'html' group access to that dir.





______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug


--
C-x C-c


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug