Thank you for the pointer; that solves one of my problems.
The other problem remains -- bash will not execute files that it should,
based on ownership and permissions.
I still need to figure that one out.
Kevin
On Tue, 24 Sep 2002 07:38:27 -0700
Jaye Inabnit ke6sls <[EMAIL PROTECTED]> wrote:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 24 September 2002 06:58 am, [EMAIL PROTECTED] wrote:
> I downloaded a new copy of the setiathome binary. The permissions are 555.
> Why would adding write permission for the user (and removing execute
> permissions for group and other) help?
Nope, setiathome is binary.
[EMAIL PROTECTED]:~/files/seti$ file setiathome
setiathome: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped [EMAIL PROTECTED]:~/files/seti$
Kevin
On Tue, 24 Sep 2002 09:17:13 -0500
"Jason Paulson" <[EMAIL PROTE
hread so far.
J
-Original Message-
From: Bijan Soleymani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 9:11 AM
To: [EMAIL PROTECTED]
Cc: debian-laptop List
Subject: Re: bash: ./setiathome: Permission denied
The fact that bash gives "cannot execute binary file"
The fact that bash gives "cannot execute binary file"
suggests that "setiathome" is an executable and not a
script.
The default permission of 555 is ok, that is read +
execute for all users: 4 (read) + 1 (execute).
If you run it like ./setiathome
or
/directory/where/program/is/setiathome
then
I downloaded a new copy of the setiathome binary. The permissions are 555.
Why would adding write permission for the user (and removing execute
permissions for group and other) help?
I tried your other suggestion, with the following results:
[EMAIL PROTECTED]:~/files/seti$ bash setiathome
set
Thank you for the pointer; that solves one of my problems.
The other problem remains -- bash will not execute files that it should,
based on ownership and permissions.
I still need to figure that one out.
Kevin
On Tue, 24 Sep 2002 07:38:27 -0700
Jaye Inabnit ke6sls <[EMAIL PROTECTED]> wrote:
On Tue, 24 Sep 2002 02:15:35 -0400
Matej Cepl <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 24, 2002 at 12:20:24AM -0400, [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED]:~/files/seti$ ./setiathome
> > bash: ./setiathome: Permission denied
> > [EMAIL PROTECTED]:~/files/seti$
>
> I would be suspicious ab
Might want to try either
bash setiathome
or
chmod 744 setiathome
./setiathome
That has happened to me a few times...
Bijan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 24 September 2002 06:58 am, [EMAIL PROTECTED] wrote:
> I downloaded a new copy of the setiathome binary. The permissions are 555.
> Why would adding write permission for the user (and removing execute
> permissions for group and other) help
Nope, setiathome is binary.
ronin@sirius:~/files/seti$ file setiathome
setiathome: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped ronin@sirius:~/files/seti$
Kevin
On Tue, 24 Sep 2002 09:17:13 -0500
"Jason Paulson" <[EMAIL PROTECTED]> wr
this
thread so far.
J
-Original Message-
From: Bijan Soleymani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 9:11 AM
To: [EMAIL PROTECTED]
Cc: debian-laptop List
Subject: Re: bash: ./setiathome: Permission denied
The fact that bash gives "cannot execute binary file"
The fact that bash gives "cannot execute binary file"
suggests that "setiathome" is an executable and not a
script.
The default permission of 555 is ok, that is read +
execute for all users: 4 (read) + 1 (execute).
If you run it like ./setiathome
or
/directory/where/program/is/setiathome
then
I downloaded a new copy of the setiathome binary. The permissions are 555.
Why would adding write permission for the user (and removing execute
permissions for group and other) help?
I tried your other suggestion, with the following results:
ronin@sirius:~/files/seti$ bash setiathome
setiath
On Tue, 24 Sep 2002 02:15:35 -0400
Matej Cepl <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 24, 2002 at 12:20:24AM -0400, [EMAIL PROTECTED] wrote:
> > ronin@sirius:~/files/seti$ ./setiathome
> > bash: ./setiathome: Permission denied
> > ronin@sirius:~/files/seti$
>
> I would be suspicious about the s
Might want to try either
bash setiathome
or
chmod 744 setiathome
./setiathome
That has happened to me a few times...
Bijan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Tue, Sep 24, 2002 at 12:20:24AM -0400, [EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED]:~/files/seti$ ./setiathome
> bash: ./setiathome: Permission denied
> [EMAIL PROTECTED]:~/files/seti$
I would be suspicious about the setting of the first line of the script.
It should say:
#!/bin/sh
and probably
On Tue, Sep 24, 2002 at 12:20:24AM -0400, [EMAIL PROTECTED] wrote:
> ronin@sirius:~/files/seti$ ./setiathome
> bash: ./setiathome: Permission denied
> ronin@sirius:~/files/seti$
I would be suspicious about the setting of the first line of the script.
It should say:
#!/bin/sh
and probably nothing
18 matches
Mail list logo