Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-13-2006, 04:03 PM   #1
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
How to grant users mount permission

Im using Slackware 10.2. While logged in as root I have full access to my DVD drive and anything else. How can I give my normal user login permission to mount drives?
Old 06-13-2006, 05:03 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
you'll need to edit /etc/fstab..........Example
/dev/hdb8        /home/music      ext2        noauto,owner,users     
/dev/hda5        /stuff           vfat        noauto,owner,users      
/dev/hdb7        /ebook           vfat        noauto,owner,users     
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,users,ro  
/dev/cdrom1      /mnt/cdrom1      iso9660     noauto,owner,users,ro
give users permissions like you see in red
Old 06-13-2006, 05:56 PM   #3
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170

Rep: Reputation: 30
Probably too much information, but...

If you use the word "users", then any user will be able to mount that file sytem and any user can unmount it. If you use the word "user" (no 's'), then any user can mount the file system, but only the user who mounted it can unmount it.

Sounds like you're just running a single-user system so it doesn't matter, but I think this is an interesting little tidbit.
Old 06-13-2006, 08:59 PM   #4
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
No, it does matter, I am running a single user system, but I really appreciate all the knowledge I can get. Very many thanks to the both of you.
Old 06-13-2006, 09:07 PM   #5
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
for more details check out 'man mount' it tells you all of the options available and describes what they do.


fstab, mount, umount, unmount

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 grant root previlege to other users? wtb1974 Linux - Newbie 4 03-19-2006 01:20 AM
giving users permission to mount a CD ricardo_ok Slackware 4 11-03-2005 01:58 PM
Grant permission to run server - how? yrozijn Linux - Newbie 2 03-25-2005 05:29 AM
how do i grant privilages to 'normal users' jogurt666 Linux - General 1 12-18-2003 02:39 PM
giving users permission to mount dai Linux - General 2 08-02-2002 03:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 AM.

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