* BUG: exec permission denied
@ 1991-07-02 21:41 Mark-Jason Dominus
1991-07-02 22:25 ` Mark-Jason Dominus
1991-07-03 9:37 ` Boyd Roberts
0 siblings, 2 replies; 4+ messages in thread
From: Mark-Jason Dominus @ 1991-07-02 21:41 UTC (permalink / raw)
To: rc; +Cc: mjd
It seems that if I try to execute a command `foo' for which I don't have
execute permission, rc gives me `foo not found', which is justifiable if
rc had to do a path search to find `foo', but not justifiable if `foo'
specified a path. That is:
; echo $path
/usr/etc
; ls -l /usr/etc/shutdown
-rws------ 1 root 24576 Mar 6 1990 /usr/etc/shutdown
; shutdown
shutdown not found
makes sense (although you could argue against it), but
; /usr/etc/shutdown
/usr/etc/shutdown not found
is incorrect.
The night is pleasing to us because, like memory, it erases idle details.
Mark-Jason Dominus mjd@central.cis.upenn.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BUG: exec permission denied
1991-07-02 21:41 BUG: exec permission denied Mark-Jason Dominus
@ 1991-07-02 22:25 ` Mark-Jason Dominus
1991-07-03 9:37 ` Boyd Roberts
1 sibling, 0 replies; 4+ messages in thread
From: Mark-Jason Dominus @ 1991-07-02 22:25 UTC (permalink / raw)
To: rc
My original note was unclear. The behavior I was complaining about was
not the failure to exec, but rather the error messgae.
I claim it should be `permission denied' instead of `... not found'.
Byron agrees with me on this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BUG: exec permission denied
1991-07-02 21:41 BUG: exec permission denied Mark-Jason Dominus
1991-07-02 22:25 ` Mark-Jason Dominus
@ 1991-07-03 9:37 ` Boyd Roberts
1 sibling, 0 replies; 4+ messages in thread
From: Boyd Roberts @ 1991-07-03 9:37 UTC (permalink / raw)
To: Mark-Jason Dominus, rc
it should say what errno is after the exec returns.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BUG: exec permission denied
@ 1991-07-02 22:33 Byron Rakitzis
0 siblings, 0 replies; 4+ messages in thread
From: Byron Rakitzis @ 1991-07-02 22:33 UTC (permalink / raw)
To: mjd, rc
> My original note was unclear. The behavior I was complaining about was
> not the failure to exec, but rather the error messgae.
>
> I claim it should be `permission denied' instead of `... not found'.
>
> Byron agrees with me on this.
Lest it seem that I agree with something that I don't necessarily agree with,
please let me clarify my viewpoint:
Right now rc prints one, and only one, error message when it cannot find/exec
something: "foo not found". To say that it should print a message that is a
little clearer is nice, but before I go ahead and implement something like
that, I would first want to know how easy it is to do this portably.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1991-07-03 9:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-07-02 21:41 BUG: exec permission denied Mark-Jason Dominus
1991-07-02 22:25 ` Mark-Jason Dominus
1991-07-03 9:37 ` Boyd Roberts
1991-07-02 22:33 Byron Rakitzis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).