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.
Comments 5
Reply
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
Thank you, both.
Reply
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
That's exactly what I wanted to do. Thanks!
Reply
Leave a comment