[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-buildpackage -rfakeroot error



On Sun, Aug 11, 2002 at 07:52:04PM +0200, Daniel Kobras wrote:

> On Sun, Aug 11, 2002 at 01:29:19PM -0400, Matt Zimmerman wrote:
> > On Sun, Aug 11, 2002 at 02:12:25PM +0200, Daniel Kobras wrote:
> > > Rather 'chmod +x /usr/bin/make' according to the error message.  Weird.
> > 
> > It is a confusing (confused) error message.  The permission problem is with
> > the script, not the interpreter.
> 
> Huh?
> 
> [snip "proof" by example]
> 
> The last line exactly matches the original error messages.  Clearly not
> a problem with debian/rules, but with make.

Oh yes, clearly.

mizar:[/tmp/test] cat > test
#!/usr/bin/doesnt-even-exist
mizar:[/tmp/test] ls -l
total 4
-rw-r--r--    1 mdz      mdz            29 2002-08-11 16:08 test
mizar:[/tmp/test] sh -c ./test
sh: line 1: ./test: Permission denied
mizar:[/tmp/test] chmod 611 test
mizar:[/tmp/test] ls -l test
-rw---x--x    1 mdz      mdz            29 2002-08-11 16:08 test
mizar:[/tmp/test] sh -c ./test  
sh: ./test: /usr/bin/doesnt-even-exist: bad interpreter: Permission denied

-- 
 - mdz



Reply to: