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-03-2004, 10:10 AM
|
#1
|
Member
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42
Rep:
|
can't mount CD ROM on non-root user
Hi,
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.
thanx
|
|
|
12-03-2004, 10:35 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
man mount talks about the options you can put in /etc/fstab to allow non root users to mount things.
Quote:
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
|
|
|
|
12-03-2004, 11:06 AM
|
#3
|
Member
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42
Original Poster
Rep:
|
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??
thanx
|
|
|
12-03-2004, 01: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:
|
Quote:
Originally posted by rsumbeling
"-sh: /mnt/cdrom/runInstaller: /bin/sh: bad interpreter: Permission denied"
|
ln -s `which bash` /bin/sh
|
|
|
All times are GMT -5. The time now is 07:49 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
|
|