$ ls -l /bin/sh /bin/bash -rwxr-xr-x 1 root root 625228 2004-12-20 05:53 /bin/bash* lrwxrwxrwx 1 root root 4 2006-10-19 06:40 /bin/sh -> bash*
On 08/04/07, Julien Cristau <[EMAIL PROTECTED]> wrote:
Hi Alexander, On Sun, Apr 8, 2007 at 00:26:10 +1200, Alexander McPhail wrote: > 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> > can you send the output of "ls -l /bin/sh /bin/bash"? Thanks, Julien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGF5OWmEvTgKxfcAwRAklDAKChpSUhX4FjHzyf3O2iyUKRnK6oTwCgjSx3 yihfJlqrSHGvBQdlcTreIpM= =zFRd -----END PGP SIGNATURE-----