View Full Version : [ubuntu] Acounts Setup Question

May 17th, 2010, 03:27 PM

After installing Lucid, I have set up 3 accounts, one for me (admin), and two other normal user accounts.

My question is - Will I hurt anything if I make all of the accounts' group "Users"?

I would like to do this so that files generated by all users are accessible by all users, without having to change permissions later.


May 17th, 2010, 05:38 PM
See this - BoneKracker explains how to share a directory (music in this case):
Two users to share music folder - group & permissions -BoneKracker:
The 2 at the beginning makes the directory SGID (Set Group ID). That means any files in the directory automatically will inherit the group of the folder, as opposed to the group of the user putting the file there.

mv ~/music /home
chown root:music /home/music
chmod 2774 /home/music or 3774

May 18th, 2010, 07:55 AM
So if I'm reading this right, putting the first "2" allows the users in that group to write files into the directory, which another user in the same group could then modify?

May 18th, 2010, 03:41 PM
I believe it is what ever permissions you give to the group as opposed to individual permissions.