Re: Strange diagnostic
On Mon, Jan 27, 2003 at 03:13:41PM +0300, Nikita V. Youshchenko wrote:
> Colin Watson wrote:
> > On Sun, Jan 26, 2003 at 09:54:38PM +0300, Nikita V. Youshchenko wrote:
> >> nikita@sercond:~> ls -l /usr/local/sbin/restart-after-upgrade
> >> -rwxr--r-- 1 root root 1044 ??? 11 2001
> >> /usr/local/sbin/restart-after-upgrade*
> >> nikita@sercond:~> which restart-after-upgrade
> >> /usr/local/sbin/restart-after-upgrade
> >> nikita@sercond:~> restart-after-upgrade
> >> bash: /usr/local/sbin/restart-after-upgrade: /bin/bash: bad interpreter:
> >> Permission denied
[...]
> > What version of debianutils? stable's which finds such executables, but
> > unstable's which does not.
>
> Hmm, debianutils seems to be from stable.
> So no bug in current which?
No. It does test -x.
> And waht about the error message? "bash" is also from stable here. Is it
> fixed in sid?
$ ls -l foo
-rwxr--r-- 1 root root 18 Jan 27 12:57 foo
$ PATH=.:$PATH foo
-bash: ./foo: Permission denied
(Unless I'm missing something.)
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: