Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-01-2005, 08:29 AM
|
#1
|
Member
Registered: Jan 2004
Location: Oklahoma, USA
Distribution: Slackware! Of Course!!
Posts: 78
Rep:
|
giving users permission to mount a CD
I'm having problems giving my users the ability to mount /dev/cdrom to /mnt/cdrom. when I try to mount a cd as a user other than root I egt an error message that says only root can mount /dev/cdrom to /mnt/cdrom.
|
|
|
11-01-2005, 08:37 AM
|
#2
|
Member
Registered: May 2004
Location: United States
Distribution: Slackware 10.0
Posts: 72
Rep:
|
My /dev/cdrom line in /etc/fstab looks like this
/dev/cdrom /mnt/cdrom iso9660 noauto,unhide,user,exec,ro 0 0
Users mount and umount just fine. Do you have 'user' among your mount options?
|
|
|
11-01-2005, 08:40 AM
|
#3
|
Member
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 108
Rep:
|
man mount:
(iii) Normally, only the superuser can mount file systems. How-
ever, when fstab contains the user option on a line, anybody can
mount the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM
using the command
mount /dev/cdrom
or
mount /cd
For more details, see fstab(5)
|
|
|
11-01-2005, 08:42 AM
|
#4
|
Member
Registered: Jan 2004
Location: Oklahoma, USA
Distribution: Slackware! Of Course!!
Posts: 78
Original Poster
Rep:
|
I do now. that was oe things I han't thought to check. I just finished installing a couple days ago and it has been probably two years since I have had a working computer that had Slack on it(much less any other linux), and I had forgotten the options in the fstab file from my unix days back in the army. Well, thanks so very much!!
|
|
|
11-03-2005, 12:58 PM
|
#5
|
Member
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279
Rep:
|
To add a clarification to the use of user in the fstab is this quote from the mount man page.
Quote:
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.
|
Dennisk
|
|
|
All times are GMT -5. The time now is 06:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|