On Thu, 25 Dec 2003 [EMAIL PROTECTED] wrote:

> On Wed, 24 Dec 2003, dave wrote:
> 
> > I've made a group called everyone.  It has its own Sub-directory, 
> > "/home/everyone".  I have 3 users in the group.  Do I have to do 
> > anything else so everyone can share that Sub-directory?  Mandrake 9.2. 
> 
> Most likely you'll have to make sure that the group is accessable
> to the group everyone (chgrp everyone /home/everyone).

oops! typo...

This is what it should be:

Most likely you'll have to make sure that the directory /home/everyone is
accessable to the group everyone (chgrp everyone /home/everyone).


> The next step is to make it writeable to "everyone" : chmod 2770 everyone/ 

oops again! :(

"chmod 2770 /home/everyone/" is the correct answer...


> The "2" makes sure that all files and directories created in the directory
> /home/everyone are set to the group everyone (otherwise they would be set
> to the file-creators group and thus not writeable to other users).
> 
> The last step is to change the default umask to 002 instead of 022 so all
> files will have the permissions set correctly (-rw-rw-r-- instead of
> -rw-r--r--). If you don't do this, user1 cannot change the files user2 has
> created.
> 
> The default umask can be set in the users profile
> (/home/user1/.bash_profile) with the line "umask 002".
> 
> That should be all!
> 
> HTH


I'm going back to sleep now...  ;)


--
Jos Lemmerling on Debian GNU/Linux                      jos(@)lemmerling(.nl)


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to