Your message dated Sat, 7 Apr 2007 19:21:29 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#418157: #!/bin/sh: bad interpreter: Permission denied
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bash
Version: 2.05b-26
Severity: critical
Justification: breaks unrelated software


The following script, chmod'ed to 755:
<file testme>
#!/bin/sh

echo "Hello, World!"
</file>

results in:
<response>
-bash: ./testme: /bin/sh: bad interpreter: Permission denied
</response>

The same error occurs when trying to execute "configure" scripts
generated by autoconf.

-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages bash depends on:
ii  base-files              4                Debian base system
miscellaneous f
ii  libc6                   2.3.6.ds1-13     GNU C Library: Shared libraries
ii  libncurses5             5.5-5            Shared libraries for terminal
hand
ii  passwd                  1:4.0.3-31sarge9 change and administer password
and

-- no debconf information

--- End Message ---
--- Begin Message ---
No problem.  Closing the bug with this message.

Take care,

This one time, at band camp, Alexander McPhail said:
> hm...
> 
> Sorry to waste your time, I've been using linux since about kernel 0.99 and
> never come across this problem.
> 
> $mount
> 
> /dev/hda1 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
> tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
> /dev/sda1 on /mnt/usb-windows type vfat (rw,noexec,nosuid,nodev)
> /dev/sda2 on /home/vivian type ext3 (rw,noexec,nosuid,nodev)
> /dev/sda3 on /home/om type ext3 (rw,noexec,nosuid,nodev)
> /dev/sda6 on /media/media type ext3 (rw,noexec,nosuid,nodev)
> /dev/sda5 on /media/data type ext3 (rw,noexec,nosuid,nodev)
> 
> 
> On 08/04/07, Stephen Gran <[EMAIL PROTECTED]> wrote:
> >
> >I'm copying your entire message, since it's not clear to me that it went
> >to the BTS.
> >
> >This one time, at band camp, Alexander McPhail said:
> >> I was never at band camp!
> >
> >heh.
> >
> >> The file was on /dev/sda2 (mounted user, noauto)
> >>
> >> Is this the problem?  I checked and the scripts run on /dev/hda1 (root)
> >>
> >> $fdisk /dev/hda
> >>
> >> Disk /dev/hda: 20.0 GB, 20020396032 bytes
> >> 255 heads, 63 sectors/track, 2434 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>   Device Boot      Start         End      Blocks   Id  System
> >> /dev/hda1   *           1        2330    18715693+  83  Linux
> >> /dev/hda2            2331        2434      835380    5  Extended
> >> /dev/hda5            2331        2434      835348+  82  Linux swap /
> >Solaris
> >>
> >> $fdisk /dev/sda
> >>
> >> Disk /dev/sda: 320.0 GB, 320072933376 bytes
> >> 255 heads, 63 sectors/track, 38913 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>   Device Boot      Start         End      Blocks   Id  System
> >> /dev/sda1               1        2550    20482843+   c  W95 FAT32 (LBA)
> >> /dev/sda2            2551        7649    40957717+  83  Linux
> >> /dev/sda3            7650       12748    40957717+  83  Linux
> >> /dev/sda4           12749       38913   210170362+   f  W95 Ext'd (LBA)
> >> /dev/sda5           12749       25815   104960646   83  Linux
> >> /dev/sda6           25816       38913   105209653+  83  Linux
> >>
> >> $cat /etc/fstab
> >>
> >> # /etc/fstab: static file system information.
> >> #
> >> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> >> proc            /proc           proc    defaults        0       0
> >> /dev/hda1       /               ext3    defaults,errors=remount-ro
> >0       1
> >> /dev/hda5       none            swap    sw              0       0
> >> /dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
> >> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> >> /dev/sda1       /mnt/usb-windows        vfat    defaults,user,noauto
> >> 0      0
> >> /dev/sda2       /home/vivian    ext3    defaults,user,noauto    0
> >0
> >> /dev/sda3       /home/om        ext3    defaults,user,noauto    0
> >0
> >> /dev/sda5       /media/data     ext3    defaults,user,noauto    0
> >0
> >> /dev/sda6       /media/media    ext3    defaults,user,noauto    0
> >0
> >>
> >> $df
> >>
> >> Filesystem           1K-blocks      Used Available Use% Mounted on
> >> /dev/hda1             18421552   5422628  12063140  32% /
> >> tmpfs                   258460         0    258460   0% /dev/shm
> >> tmpfs                    10240        80     10160   1% /dev
> >> /dev/sda1             20472816       560  20472256   1% /mnt/usb-windows
> >> /dev/sda2             40313996   4935408  33330704  13% /home/vivian
> >> /dev/sda3             40313996    249772  38016340   1% /home/om
> >> /dev/sda6            103558204  10347316  87950408  11% /media/media
> >> /dev/sda5            103313308  10991028  87074248  12% /media/data
> >
> >What is the output of `mount`?  The fact that it does run on another
> >partition leads me to strongly suspect my guess is right.
> >--
> >-----------------------------------------------------------------
> >|   ,''`.                                            Stephen Gran |
> >|  : :' :                                        [EMAIL PROTECTED] |
> >|  `. `'                        Debian user, admin, and developer |
> >|    `-                                     http://www.debian.org |
> >-----------------------------------------------------------------
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.6 (GNU/Linux)
> >
> >iD8DBQFGF7yTSYIMHOpZA44RAn28AKCPMOxEgtUK8iPJBjZjaROGfXuY9ACfdIYj
> >tKYqaYJrbseU9QSxevcJnSk=
> >=mqNe
> >-----END PGP SIGNATURE-----
> >
> >

-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to