LinuxQuestions.org
Review your favorite Linux distribution.
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, 06: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, 06: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: 62
You sure it is not users with an s. Not a gentoo user but seen this many times here.

Brian1
 
Old 11-20-2005, 09: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, 09: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, 08: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:03 AM
User Mount LinuxNoob1234 Linux - Newbie 2 05-18-2005 11:58 PM
user cant mount after chmod 777 /bin/mount misterwiddle Linux - General 2 04-06-2005 06:36 PM
User mount ?? exvor Linux - Software 8 11-13-2004 09:40 PM
how to use 'mount' as user servnov Linux - Newbie 6 11-02-2004 03:49 PM


All times are GMT -5. The time now is 02:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration