View previous topic :: View next topic |
Author |
Message |
Impalatore-polacco Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/193254042446754c3183655.jpg)
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Jun 24, 2007 10:14 pm Post subject: fstab-Unrecognized mount option"uid=1000" [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
link1305 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 May 2004 Posts: 168 Location: Cleveland, Ohio
|
Posted: Sun Jun 24, 2007 10:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Impalatore-polacco Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/193254042446754c3183655.jpg)
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Jun 24, 2007 10:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
LiquidAcid Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Sep 2006 Posts: 171
|
Posted: Sun Jun 24, 2007 11:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Impalatore-polacco Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/193254042446754c3183655.jpg)
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Jun 24, 2007 11:53 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Impalatore-polacco Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/193254042446754c3183655.jpg)
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Mon Jun 25, 2007 12:01 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|