[LBo] Only root can mount (Suse 10)

grasshopper marigold.6352 at gol.com
Sun Jul 29 16:42:58 CEST 2007


On Sun, 2007-07-29 at 09:45 -0400, Howard Rosen wrote:
> On Sun, 2007-07-29 at 22:23 +0900, grasshopper wrote:
> > On Sun, 2007-07-29 at 07:03 -0400, Anita Lewis wrote: 
> > > On 07/29/2007 03:05 AM grasshopper wrote:
> > > 
> > > > grasshopper at linux:~> ls -lh /dev/cdrom
> > > > lrwxrwxrwx  1 root root 3 2007-07-28 18:36 /dev/cdrom -> sr0
> > 
> > 
> 1. insert a cd into the cd drive prior to bootup.  That is where the
> auto and user(s) are put into use and the script will mount your cdrom.
> The message about "only root..." is because, if the cd is not mounted
> during bootup, then the cli requires that only root can mount.  NOTE:
> cli = command line interface, typing commands at the prompt.

I rebooted with the CD in, and it worked :)  But when I installed
another CD the same old story.....Now I understand what the script does.

Why can I not change the system so that user grasshopper can use the CD?
I have to write a lot of reports, and I usually save my work on CD,
which is very convenient, as I can quickly pop in the CD and do whatever
I need to, save and exit.   Is that a 'fault' with Suse 10?

I'm sorry but I'm really confused about 'running a script' I saved the
file but, when I try to 'run' it from the terminal, I get this:

Password:
linux:/home/grasshopper # ./cd.sh
bash: ./cd.sh: Permission denied
linux:/home/grasshopper #

I am running as root.  Where did I go wrong.

Many thanks.

grasshopper






More information about the QnA mailing list