PDA

View Full Version : [ubuntu] Acounts Setup Question



L8erG8er
May 17th, 2010, 03:27 PM
All,

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.

Thanks!

oldfred
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:
http://ubuntuforums.org/showthread.php?t=1484221
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

L8erG8er
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?

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