[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: permission-denied



On Tue, Feb 06, 2001 at 08:34:26AM -0500, T. Green wrote:
:HELP -- NOVICE
:    I am tring to install software from my cdrom and i keep getting the
:following responce.
:bash: /Setup.sh: permission denied
:My question is why, i am in root.
:help

several possible problems...

first (provided you've cd'ed to the directory Setup.sh is in):

me@localhost$ ./Setup.sh	# Note the leading "." , ./ means this
				  directory  whereas / means the top
				  level directory.

Second and trickier is that the cdrom may be mounted with the "noexec"
option, try remounting it with:

root@localhost# mount -o exec -t iso9660 /dev/cdrom /cdrom

The "noexec" option is part of the "user" option allowing anyone with
access to the system to mount a cdrom.  This is a security feature
which isn't really applicable to home machines.

-Jon



Reply to: