Click to See Complete Forum and Search --> : filesystem mount
lymegreeen
11-25-2003, 12:26 PM
Hi, i'm continuing my 'mounting partition' thread here hoping to get some attention. so i got my partition and filesystem mounted as i was saying in the previous thread. now i run into the problem that it's only usable by root. i've tried the users instead of user (which i think should be user)... and chmod 666 command. neither work. what other options do i have? thanks to anyone who can help.
Vaseline
11-25-2003, 01:06 PM
Are you mounting it from the command line or automatically, using fstab?
In fstab, add ',user' to the coloumn with the options in it.
On the command line, add -o,user.. Example:
mount -t vfat /dev/hdb2 /mnt/music -o user,defaults
Icarus
11-25-2003, 01:07 PM
What's the fstab entry look like?
Make sure there is a users bit in the line or you'll get this error.
Check your other entries and try to match it up with those
Vaseline
11-25-2003, 01:09 PM
Tis true, users is better than user. :)
Icarus
11-25-2003, 01:19 PM
Originally posted by Vaseline
Tis true, users is better than user. :) Nope, you are right, just looked it up in the man page
user
Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).
Change what I said to user ;)
although, users does work...but a bit differently
users
Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).user allow only the UID that mounted the drive to unmount it (If its mounted at boot time, only root can unmount it) and users allows anyone to unmount it...
I hate when they try to confuse you like that!
I think this might work easier for you though...defaults
Use default options: rw, suid, dev, exec, auto, nouser, and async. ;)
lymegreeen
11-25-2003, 01:26 PM
i tried both the user and users options. i edited my fstab in a text editor and it looks something like
/dev/hda10 /music ext3 user,rw 1 2
or something like that... i'm at work and i don't have access to my system right now. something like that though.
i read elsewhere that the mounting directory has to have proper permissions and to set these permissions the filesystem must be unmounted first. is this true? does rebooting not work?
thanx