View previous topic :: View next topic |
Author |
Message |
n0n Guru
Joined: 13 Jun 2002 Posts: 355
|
Posted: Mon Oct 14, 2002 4:11 pm Post subject: autofs user unmount? |
|
|
Hey, I just set up autofs to automatically mount my CDRom and floppy, etc, when called for. This is working just fine (ordinary users can mount them, etc), but I can only unmount these automounted directories as root. I ran into this problem before on a Debian system, too, but in that case, all I had to do was add the automounted entires into /etc/fstab (not the cleanest solution, I know), and it worked fine. The actual error message I'm getting is "umount: only root can unmount /dev/cdroms/cdrom0 from /auto/cd." Here's some files from my setup (trimmed down for readablility):
/etc/autofs/auto.master
Code: | /auto /etc/autofs/auto.misc |
/etc/autofs/auto.misc
Code: | cd -fstype=iso9660,ro,user :/dev/cdroms/cdrom0 |
/etc/fstab
Code: | /dev/cdroms/cdrom0 /auto/cd iso9660 noauto,ro,user 0 0 |
Any help would be appreciated. Thanks! |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Tue Oct 15, 2002 10:43 am Post subject: |
|
|
Change the 'user' option to 'users'. |
|
Back to top |
|
|
n0n Guru
Joined: 13 Jun 2002 Posts: 355
|
Posted: Tue Oct 15, 2002 1:20 pm Post subject: |
|
|
*blush*
Wow. Now I feel like an idiot. :) Thanks! |
|
Back to top |
|
|
|
|
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
|
|