User management

Oct 19, 2011 08:34

How do I create a new user such that I have full read/write permissions in that user directory ( Read more... )

Leave a comment

Comments 5

tcpip November 3 2011, 03:16:23 UTC
Create the user, create a group that both you and that user are members, add r/w permissions to that directory to the group.

Reply

kazriko November 3 2011, 19:19:42 UTC
I agree with this one.

add the user in, put yourself and them both in the same group, and make that folder and everything in it 775

for example,
sudo adduser music
[This will create user music and group music]
Edit /etc/group, find the Music line, add your username to the end.
[this adds your account to the Music group]
sudo chmod -R g+w /home/music
[this makes the folder and everything in it group writable. You may need to g+r as well]
sudo umask 0002 /home/music
[this makes it so new files created will be group writable.]

When copying files in, you might need to rerun the chmod line, and maybe also...
sudo chown -R music:music /home/music

You may need to logout and log back in for the group setting to take effect.

Reply

lightning_rose November 4 2011, 01:28:07 UTC

Thank you, both.

Reply


threeringedmoon November 3 2011, 14:41:09 UTC
I keep my music in /home/music.
My userid is elaine

Start terminal window (gnome-terminal).

sudo mkdir /home/music

sudo chown elaine:elaine /home/music

You should now be able to move your music to this directory. Hope this helps.

Reply

lightning_rose November 4 2011, 01:27:19 UTC

That's exactly what I wanted to do. Thanks!

Reply


Leave a comment

Up