LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2005, 05:26 PM   #1
emanresu
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 76

Rep: Reputation: 15
user cannot mount?


I have a newbie problem with mounting and unmounting. I am running gentoo 2.6.12. In /etc/fstab, I have the following:
Code:
/dev/cdrom   /mnt/cdrom   auto   noauto,user     0  0
what I intend to do is allow a user to mount / unmount the dvd drive. However, when I stick a dvd into the drive, and start typing

Code:
mount  -t iso9660 /dev/cdrom /mnt/cdrom
it says:

Code:
mount: only root can do that
but I thought the "user" option in fstab is to allow users to mount. What did I do wrong?
 
Old 11-20-2005, 05:39 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You sure it is not users with an s. Not a gentoo user but seen this many times here.

Brian1
 
Old 11-20-2005, 08:40 PM   #3
emanresu
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 76

Original Poster
Rep: Reputation: 15
It is "user" in its singular form, at least according to the gentoo handbook plus a few other online sources.
 
Old 11-20-2005, 08:43 PM   #4
emanresu
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 76

Original Poster
Rep: Reputation: 15
here is what I found:
Code:
For more details, see fstab(5). Only the user that mounted a filesystem can unmount it again. If any user should be able to unmount, then use users instead of user in the fstab line."
in other words, "users" allows anyone to unmount a volume, while "user" only lets the original mounter to do the unmount.

but my problem is not with unmount. My problem is with mounting... please help.
 
Old 12-08-2005, 07:00 AM   #5
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Rep: Reputation: 30
just use mount /dev/cdrom

The problem is only root can specify what to mount and where, users can moint the mount point, but not specify what device to mount. They must go by the fstab.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
User Mount LinuxNoob1234 Linux - Newbie 2 05-18-2005 10:58 PM
user cant mount after chmod 777 /bin/mount misterwiddle Linux - General 2 04-06-2005 05:36 PM
User mount ?? exvor Linux - Software 8 11-13-2004 08:40 PM
how to use 'mount' as user servnov Linux - Newbie 6 11-02-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration