Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
partition issue[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Thu Oct 11, 2007 11:06 am    Post subject: partition issue[solved] Reply with quote

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
View user's profile Send private message
ianw1974
Guru
Guru


Joined: 18 Oct 2006
Posts: 387
Location: UK and Poland

PostPosted: Thu Oct 11, 2007 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Thu Oct 11, 2007 4:17 pm    Post subject: partition issue Reply with quote

Thanks it works... :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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