Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab-Unrecognized mount option"uid=1000" [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Sun Jun 24, 2007 10:14 pm    Post subject: fstab-Unrecognized mount option"uid=1000" [SOLVED] Reply with quote

Hy,
this is my fstab:
Code:
/dev/sda1    /    reiserfs    notail       0 1
/dev/sda2   /media/virtuals   ext3   auto,user,rw,sync,uid=1000,gid=1000,umask=0000   0 1
/dev/sda5   none      swap      sw   0 0
proc        /proc     proc    defaults          0 0
shm       /dev/shm  tmpfs    nodev,nosuid,noexec          0 0

but when i try to mount /dev/sda2 it say to me:
Code:
EXT3-fs: Unrecognized mount option "uid=1000" or missing value

I wanna the /dev/sda2 writeable & readeable to the user uid=1000, any ideas??
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa


Last edited by Impalatore-polacco on Mon Jun 25, 2007 12:01 am; edited 3 times in total
Back to top
View user's profile Send private message
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Sun Jun 24, 2007 10:25 pm    Post subject: Reply with quote

That uid= option is only for fat and ntfs filesystems. With ext3 you should be able to just mount the filesystem, and as long as the files ON the fs are readable by that user then you should be fine. I don't think the permissions on the mount point are important. If you want a user to be able to mount the fs, then you can add "user" to the options.
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Sun Jun 24, 2007 10:50 pm    Post subject: Reply with quote

Ok, but I want to try to mount the partition to /media/virtuals, but the owner of virtuals/ is root, and when I try to change it with chown after I mount the partition the owner of virtuals/ return to be root, and my user can't to write anything
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
LiquidAcid
Apprentice
Apprentice


Joined: 11 Sep 2006
Posts: 171

PostPosted: Sun Jun 24, 2007 11:39 pm    Post subject: Reply with quote

mount the fs to /media/virtuals, change to /media/virtuals and chown username:groupname .
that should give the user complete access to the mounted fs.
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Sun Jun 24, 2007 11:53 pm    Post subject: Reply with quote

It seems to work...but only from terminal, I can create dir and files from my user to the directory virtuals (after doing chown my_user:my_group virtuals) only from terminal, when I open the dir virtual from X, I can't do nothing.
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Mon Jun 25, 2007 12:01 am    Post subject: Reply with quote

After reboot all things work, thx for help
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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