You want to change ownership of the mount point not the device.
So if you mount the data partition to ~/data make sure you own the mount point.

well no, not exactly
just to be able to use the /dev/hdg3 as much as I like... like creating/modifying files and folders in it.
The mount point is owned by the root, right? so how can I get the read/write rights to it?

nitto

Titel:Verfasst am: 10.08.2006, 05:19 Uhr

Anmeldung: 31. Jul 2006
Beiträge: 81
Wohnort: Melbourne

feeling like a n**b...
being a newbie and all

suppose to "chown" the /data directory. whereas I was trying to "chown" the whole partition (ie /dev/hdg3)
so, just for the record (to help anyone else who may have this problem)

chown -R nitto:nitto /data

a fair understanding of how Linux file system works (as oppose to windows!) is a good thing :->

_____________________________________________
The reasonable man adapts himself to the world;
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man. (George Bernard Shaw)

stryder

Titel:Verfasst am: 10.08.2006, 05:35 Uhr

Anmeldung: 26. Jun 2005
Beiträge: 389

... which was what mzilikazi meant about changing the ownership of the mount point. If /dev/hdg3 is mounted on /data at that point, the "-R" option also chowns everything inside the mount point, i.e. /dev/hdg3. Knowing these commands can be very helpful when using linux.

nitto

Titel:Verfasst am: 10.08.2006, 12:48 Uhr

Anmeldung: 31. Jul 2006
Beiträge: 81
Wohnort: Melbourne

still on that topic...:
does it work with Linux notion to have the "/data" mount point named with a long folder name, such as "/My Documents" and put it on the "/home/user_name/Desktop" as a permanent fixture?

_____________________________________________
The reasonable man adapts himself to the world;
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man. (George Bernard Shaw)

stryder

Titel:Verfasst am: 10.08.2006, 13:50 Uhr

Anmeldung: 26. Jun 2005
Beiträge: 389

Well, to view the contents of a folder in kde you'll use konqueror. So you just need to create a launcher on your desktop that launches konqueror showing the contents of /data - something like "konqueror file:/data". And you can name the launcher "My Documents". I don't use kde and so cannot give you the proper konqueror command - I think there is a switch as a file browser and a web browser. In xfce, "thunar /data" works well. You can also install thunar. It's pretty cool.

You can also create a link file (like alias in windows) in your home folder, like:

ln -s /data MyDocs

So when you click MyDocs (which will show when you click on your "home" icon), /data opens.

mzilikazi

Titel:Verfasst am: 12.08.2006, 19:35 Uhr

Team Member

Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede

nitto hat folgendes geschrieben::

still on that topic...:
does it work with Linux notion to have the "/data" mount point named with a long folder name, such as "/My Documents" and put it on the "/home/user_name/Desktop" as a permanent fixture?

Instead of links and such, you could choose to mount any partition to any mount point. See my example: