sudo guru needed

Joel Goguen jtgoguen at gmail.com
Mon Oct 2 18:34:13 UTC 2006


What's on line 42 of that script?  What do you get when you do 'ls -l
/media/cdrom0/vw7.4.1nc/bin/linux86/visual'

I'm grasping at straws now, does it still do that if you do the following:

# sudo -s -H
Password:
# sh /media/cdrom0/installUnix

On 10/2/06, Albert Wagner <albertwagner at cox.net> wrote:
> Joel Goguen wrote:
> > Try this:
> >
> > # sudo sh /media/cdrom0/installUnix
> >
> > On 10/2/06, Albert Wagner <albertwagner at cox.net> wrote:
> >> I have downloaded and burned a cd from Cincom that is an installation
> >> disk for Smalltalk. In the root directory of the cd (/media/cdrom0/)
> >> there exists a shell (sh) file named installUnix which must be run. It
> >> is owned by root and in group root with permissions -r-xr-xr-x.  In a
> >> terminal I get:
> >>
> >> # /media/cdrom0
> >> # ./installUnix
> >> bash: ./installUnix: /bin/sh: bad interpreter: Permission denied
> >> # /media/cdrom0
> >> # sudo ./installUnix
> >> sudo: unable to execute ./installUnix: Permission denied
> >>
> >> I get the same in a terminal invoked so:
> >>
> >> # sudo gnome-terminal
> >> Password:
> >> # /media/cdrom0
> >> # ./installUnix
> >> bash: ./installUnix: /bin/sh: bad interpreter: Permission denied
> >> # /media/cdrom0
> >> # whoami
> >> root
> >>
> >> Do I have to activate root with a password in order to run this shell?
>
> Thank you, Joel.  That got me part way(see below).  But I suspect that
> there are several more embedded permission issues.  I think that I'm
> just going to have to logon as root.
>
> # sudo sh /media/cdrom0/installUnix
> Password:
> /media/cdrom0/installUnix: line 42:
> /media/cdrom0/vw7.4.1nc/bin/linux86/visual: Permission denied
> /media/cdrom0/installUnix: line 42:
> /media/cdrom0/vw7.4.1nc/bin/linux86/visual: Success
>
>


-- 
Joel Goguen
Bachelor of Computer Science III
University of New Brunswick
Don't forget that you were born into freedom




More information about the ubuntu-users mailing list