Yes i do, i am as a root, but first I logged as a unprivileged user then switch 
as a root account with su - command.
And sh links to bash
# ls -alh /bin/sh
lrwxrwxrwx 1 root root 4 Aug  1 12:34 /bin/sh -> bash

  ----- Original Message ----- 
  From: Jake Vickers 
  To: [email protected] 
  Sent: Monday, October 27, 2008 1:23 PM
  Subject: Re: [qmailtoaster] Failed build on RedHat Enterprise


  German Molano & Asociados wrote: 
    Hi there, i am trying to build the qmailtoaster packages on RedHat 
Enterprise Linux Server release 5.2 on a x86_64 server, i am getting this error 
on the building process:

    + chmod u+x /var/tmp/daemontools-0.76-show_flags
    + /var/tmp/daemontools-0.76-show_flags
    /var/tmp/rpm-tmp.28671: /var/tmp/daemontools-0.76-show_flags: /bin/sh: bad 
interpreter: Permission denied
    error: Bad exit status from /var/tmp/rpm-tmp.28671 (%prep)

    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.28671 (%prep)

    I am logged as root and i run /var/tmp/daemontools-0.76-show_flags and it 
fails:

    -bash: /var/tmp/daemontools-0.76-show_flags: /bin/sh: bad interpreter: 
Permission denied

    What's wrong ?


    Thanks for your help 


  Are you running as root?
  What does /bin/sh link to?

Reply via email to