Hi!

The qmail script /var/qmail/rc doesn't start anymore. It says :

bash: /var/qmail/rc: /bin/sh: bad interpreter: permission denied

The script is owned by root:root with the permissions 755 set and
contains:

#!/bin/sh

exec env - PATH="/var/qmail/bin:$PATH" \
        qmail-start "`grep -v '^#' /var/qmail/control/defaultdelivery`"

To be sure I wrote a script /bin/hello

#!/bin/sh
echo "Hello World"

chown root:root /bin/hello 
chmod 755 /bin/hello

I did as root:

hello
./hello
/bin/hello

and as user:

hello
./hello
/bin/hello
/bin/sh /bin/hello
/bin/bash /bin/hello

As expected it produced with every line "Hello World"

Whats going wrong ?

Its even impossible to re-emerge bash because:

/usr/sbin/ebuild.sh: ./configure: /bin/sh: bad interpreter: permission
denied
 
!!! ERROR: app-shells/bash-2.05b-r8 failed.
!!! Function econf, Line 338, Exitcode 126
!!! econf failed

On the other hand I re-emerge baselayout successfully.

Where did I mess up this time. 

Any ideas are much appreciated.

Thanks, Michael



--
[EMAIL PROTECTED] mailing list

Reply via email to