View previous topic :: View next topic |
Author |
Message |
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Thu Oct 11, 2007 11:06 am Post subject: partition issue[solved] |
|
|
hello guys...
I am a little bit new to linux, but i have created partitions on my gentoo.I am trying to give access to the user on partition /dev/hda7 where if i give command chown <user> /D_drive i get this output :
localhost muhsin # chown muhsin /Drive_D/
chown: changing ownership of `/Drive_D/': Operation not permitted
here is my /etc/fstab configuration file:
/dev/hda7 /Drive_D vfat noatime,users 0 2
Notice that the command was executed as a root and the partition is already mounted:
Any help will be really appreciated....
Last edited by muhsinzubeir on Mon Nov 12, 2007 2:00 pm; edited 1 time in total |
|
Back to top |
|
|
ianw1974 Guru
Joined: 18 Oct 2006 Posts: 387 Location: UK and Poland
|
Posted: Thu Oct 11, 2007 11:15 am Post subject: |
|
|
An easier way, if you only have one user, is just add umask=0 to the /etc/fstab options where you have users listed, so:
Code: | /dev/hda7 /Drive_D vfat umask=0,noatime,users 0 2 |
|
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Thu Oct 11, 2007 4:17 pm Post subject: partition issue |
|
|
Thanks it works... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|