locked mount points
Hello. I installed Slacwakre 9. Runs sweet yet my mount points..
/mnt/floppy /mnt/cdrom can only be accessed by ROOT. how do I make it so normal users can use them? My best guess is chmod. Any thoughts? |
Wrong though ... user=XXX,group=XXX, etc. man mount for more details!
|
one way
/dev/cdrom /mnt/cdrom iso9660 user,exec,nodev,suid,rw,noauto,umask=0 0 0 |
What?
|
man mount, really, man is your friend (well except your enemies :D )
whansard, is that not defaults values? Anyway, man mount will describe your options to you. To mount as a user you will need the "user" or "users" depending on your wants/needs. man mount, man mount, and in case you didn't see that, I meant man mount ;) If you don't have man pages installed: http://man.linuxquestions.org/index....ction=0&type=2 :D Cool |
And I'm bored, so here's the exerpt:
Code:
async All I/O to the file system should be done So it looks like you'll want: noauto,users,ro in your options section (here's my entry for my cdrom): Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0 |
if you want anybody to be able to mount or umount the
drive use umask=000 if you want ot use user than the user who mounts is the one who can umount. when you use the umask=000, the users can still only mount or umount the drive by accessing the mount point referenced in fstab. so if /etc/fstab lists the mount point of /dev/cdrom as /mnt/cdrom then users should use mount /mnt/cdrom as the mount command i'm going to guess by the "what" reply that you mean you don't know we're talking about entries in the file /etc/fstab, which you edit with a text editor. |
I new it was FSTAB I coulda SWORE it was FSTAB,you bastard.
|
So did we.. :D
So I take it you got it working? Cool |
Now ON TO SAMBA!
|
All times are GMT -5. The time now is 01:21 AM. |