LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2002, 02:46 AM   #1
acadcworks
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Rep: Reputation: 15
Unresolved : Cannot access cdrom mount from any user except root???


Hi,

I still have not succeeded in working out why I cannot access the cdrom mount from a user other than root.

I installed mandrake 8.2 fresh and created a user u. I startx from the login and it boots into KDE with 2 cdrom icons on the desktop cdrom and cdrom2. cdrom is the dvd and cdrom2 is the normal cd which i need to access.

I open a shell as u and need to run runInstaller.sh on the oracle cd in the drive. I am not allowed to run this as root.

However, when I do /mnt/cdrom2/runInstaller.sh it fails to find it because I do not have permission.

If i su into root and do the same then it is fine but the script fails as I am running it as root.

I posted this previosuly and things that came back were trying to chmod 755 the /mnt/cdrom2 as root but this does not solve it simply because it will not let me perform this op and it gives an error of not being able to set perms on this as it is read only.

I would really appreciate some help on this, it is baffling me!

Cheers.
 
Old 10-18-2002, 02:59 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
hi, what does your /etc/fstab file look like? Post the contents here

Cool
 
Old 10-18-2002, 03:22 AM   #3
acadcworks
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Original Poster
Rep: Reputation: 15
for the cdrom bits...

/dev/hdc /mnt/cdrom auto user,iocharset=iso8859-15,exec,codepage=850,ro,noauto 0 0

/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-15,exec,codepage=850,ro,noauto 0 0
 
Old 10-18-2002, 03:51 AM   #4
acadcworks
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Original Poster
Rep: Reputation: 15
ok, here is something new....

I can access the cdrom from a user created during install that is not root.

But I cannot access it from the ORACLE user I set up with useradd.

Do i need to add oracle user to some group??
 
Old 10-18-2002, 03:53 AM   #5
acadcworks
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Original Poster
Rep: Reputation: 15
ok, i added oracle to the cdrom group...seemed to work!??
 
Old 10-18-2002, 11:08 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Your old users might not belong to the group allowed to access the files. On my old distros, my new users would automatically become part of a group that echoed their username, so if I created user linux then this user's default group was linux, not users.

So this might be why the problems

Cool
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give cdrom access for user & can i mount FAT32 partition atomatically on boot? Ninja_212 *BSD 3 03-09-2005 03:01 PM
mount cdrom as non-root user derfaust Slackware 31 07-30-2004 05:57 PM
Why can't a non-root user mount a cdrom? dokterneo Slackware 8 12-21-2003 07:01 PM
Cannot mount cdrom as user or root in Mandrake 8.2 TlitJ Linux - General 11 09-09-2003 03:51 PM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 PM.

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