GRUB setup instructions
http://ubuntuforums.org/showthread.php?t=224351
-----------------------------------------------------------------------------------------------------------------
to the "sudo chown" and "sudo chmod" commands. In a unix/linux system, users can only write into their home directory by default. this is a very good approach, because this way, it is hardly possible that one user breaks the system (by accident or intentionally).
Drives by default belong to the root user
sudo mkdir /media/Disk/userdata
or using Nautilus as root ("gksudo nautilus").
Then, you give the directory to the user
sudo chown youruser:youruser /media/Disk/userdata
You can also do this with nautilus as root.
From this point, it is n excellent idea to create a symbolic link to that directory under the home directory of the user. That way, the user will be able to reach his space on the drive from within his home directory (where al his other data are as well).
sudo ln -s /media/Disk/userdata /home/youruser/userdata
src: http://ubuntuforums.org/showthread.php?t=543
Now I need to give it the proper permissions. Let's just assume, for this example, that my username is marie.
sudo chown -R marie:marie /storage
sudo chmod -R 755 /storage
Monday, 22 June 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment