[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cannot execute binary file
- From: Luciano Miguel Ferreira Rocha <strange nsk no-ip org>
- To: For testers of Fedora Core development releases <fedora-test-list redhat com>
- Subject: Re: cannot execute binary file
- Date: Sun, 9 May 2004 16:36:12 +0100
On Sun, May 09, 2004 at 05:30:32PM +0200, Edmund Mergl wrote:
> can anyone shed some light on this:
>
> [root fc2]# su - mergl /bin/date
> /bin/date: /bin/date: cannot execute binary file
>
> this happens with any executable unless it's a script.
/bin/date is passed as an argument to the shell:
/bin/bash /bin/date
What you want is: su - mergl -c /bin/date
that runs:
/bin/bash -c /bin/date
Regards,
Luciano Rocha
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]