Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
12-06-2004, 08:56 PM
|
#1
|
Member
Registered: Feb 2003
Location: sc
Distribution: mandrake 9
Posts: 73
Rep:
|
can a regular user mount devices
Hey there,
i am wanting to set a debian system ( with gnome) to allow the regular user to mount and unmount a drive ( cd-rw, and dvd ) . can i do this with fstab ? how does auto mount work.
thanks,
|
|
|
12-06-2004, 09:02 PM
|
#2
|
Member
Registered: Dec 2004
Location: Ontario, Canada
Distribution: ArchLinux, VectorLinux, Ubuntu, Debian, Linspire
Posts: 66
Rep:
|
Yes, it is possible, a lot of distro's are setup so that they don't run as root, but the default regular user can mount/umount drives. I believe it has something to do with using the "sudo" command (and settings in /etc/sudoers). Sorry I can't give any more info, but I'm sure somebody will.
|
|
|
12-06-2004, 09:26 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
"man fstab" will suggest checking "man mount" which will suggest using "user" or "users" in the /etc/fstab line for that device.
|
|
|
12-06-2004, 09:50 PM
|
#4
|
Member
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377
Rep:
|
i believe u can change its permission
|
|
|
12-06-2004, 10:19 PM
|
#5
|
Member
Registered: Feb 2003
Location: sc
Distribution: mandrake 9
Posts: 73
Original Poster
Rep:
|
cool, how ?
|
|
|
12-07-2004, 11:33 AM
|
#6
|
Member
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377
Rep:
|
by using chown username and point that to ur cdrom (hdb, hdd, ........ it depend on which ur cdrom is location, and make sure take a look at ur /etc/fstab)
also then change the argument to /mnt/cdrom
____________________
life is just a candle
Last edited by Paxmaster; 12-07-2004 at 11:37 AM.
|
|
|
12-07-2004, 12:40 PM
|
#7
|
Member
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165
Rep:
|
Change or add the line in /etc/fstab
/dev/cdrom /mnt/cdrom iso9600 nonauto,users,ro 0 0
Of course you will want to change the device and the mount point to suit your system
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
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
|
|