Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16127 - script shell failed
Summary: script shell failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-21 03:57 UTC by Frederic DEGHETTO
Modified: 2003-02-21 09:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic DEGHETTO 2003-02-21 03:57:09 UTC
Hello,

The problem always occurs when i launch a script on a read-only media. I got
this message:
    -bash: /mnt/cdrom/setup.sh: /bin/sh: bad interpreter: Permission denied

If i copy the script on a writeable directory, the script runs.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) MP 2000+
GENTOO_MIRRORS="ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt encode gif jpeg libg++ libwww mikmod mpeg ncurses nls
pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline bonobo svga tcltk java guile sdl gpm tcpd pam ssl perl python esd imlib
oggvorbis motif opengl mozilla ldap snmp cdr X gtk gtk2 mmx 3dnow cups qt kde
arts gnome alsa xinetd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-mp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-mp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Frederic DEGHETTO 2003-02-21 04:04:19 UTC
Sorry to had disturb you , i just solved the problem. I have added exec in fstab for cdrom media....

Thanks you,

Frederic
Comment 2 SpanKY gentoo-dev 2003-02-21 09:36:15 UTC
invalid