Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs user unmount?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Mon Oct 14, 2002 4:11 pm    Post subject: autofs user unmount? Reply with quote

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
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Tue Oct 15, 2002 10:43 am    Post subject: Reply with quote

Change the 'user' option to 'users'.
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Oct 15, 2002 1:20 pm    Post subject: Reply with quote

*blush*

Wow. Now I feel like an idiot. :) Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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