Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-03-2004, 11:10 AM   #1
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Rep: Reputation: 15
Question can't mount CD ROM on non-root user


I have a question, when logged as non-root to my slack 10, and trying to mount a CD, an error message appears: "only root can mount /dev/cdrom on /mnt/cdrom". what can i do to mount a CD rom while im logged as non-root user? i'm installing the oracle 9i database on my slack 10.

by the way, oracle 9i cannot be installed if the user is root.

Old 12-03-2004, 11:35 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
man mount talks about the options you can put in /etc/fstab to allow non root users to mount things.
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
mount /dev/cdrom
Old 12-03-2004, 12:06 PM   #3
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Thanx andrew,

i got another question, when i tried to run the program from that CD rom, i get a permission error:

"-sh: /mnt/cdrom/runInstaller: /bin/sh: bad interpreter: Permission denied"

what can i do to have permission on running programs on CD rom??

Old 12-03-2004, 02:13 PM   #4
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Originally posted by rsumbeling
"-sh: /mnt/cdrom/runInstaller: /bin/sh: bad interpreter: Permission denied"
ln -s `which bash` /bin/sh


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
cannot mount CD ROM on non-root user rsumbeling Linux - Security 4 12-04-2004 02:09 AM
mount cdrom as non-root user derfaust Slackware 31 07-30-2004 06:57 PM
Mount Cd as non-root user rayyen Linux - Newbie 4 08-31-2003 10:21 AM
Can't mount as non-root user thepenguinhippy Linux - Newbie 4 07-30-2003 04:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:32 PM.

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
Open Source Consulting | Domain Registration