You are not logged in.
Pages: 1
Hi, I have 2 windows partitions that I want to mount automatically at the startup, but if I set the 'auto' option, the owner of the device is root, and I have only read rights. Now I've inserted 'noauto', so I go to Konqueror and click on the device to mount it. But it's not the ideal solution. Any help?
Thanks
actual fstab
/dev/sda5 /mnt/dati vfat users,noauto,gid=users,umask=0002,rw,exec,utf8 0 0
/dev/sda2 /mnt/windows vfat users,noauto,shortname=mixed,auto,gid=users,umask=0002,rw,exec,utf8 0 0
Offline
Check `man mount` for uid and gid and mask options for the partition's filesystem. Maybe the user or users option can be interesting and altering the rights of the mount point, too.
Describe exactly what you want, if you can't figure it out with the manpage. E.g. which user and group should own the "partition", which right's shall be applied to folders and files, etc.
Last edited by harlekin (2007-09-15 10:23:43)
Hail to the thief!
Offline
The easiest way is to specify uid option to mount.
Offline
I'd like to have these two partitions mounted automatically at startup and that any user has full rights on it
well, if I remove 'noauto' from my fstab, the partitions are mounted automatically, but users don't have full rights on it. Has the uid option an effect also on permissions?
thanks
Offline
Eventually you can use umask=0 mount option but this is very unsecure.
Offline
Just set uid to root and gid to users and the permissions to rwxrwx---. Won't you be fine with that?
Hail to the thief!
Offline
yes, that should solve my problems. But could you please tell me what should I write exactly? I'm a bit confused by man page... thanks
Offline
Pages: 1