Bug#586807: dash: Dash is unable to execute read only scripts

2010-08-01 Thread Krzysztof A. Sobiecki
Jonathan Nieder writes: > Hi Krzysztof, > > Sorry for the long delay in responding. > > Krzysztof A. Sobiecki wrote: > > [...] >> +++ dash-0.5.6.1/src/input.c 2010-06-25 00:45:19.0 +0200 >> @@ -400,15 +402,28 @@ popstring(void) >> */ >> >> int >> +isdir(const char *name) >> +{ >> +

Bug#586807: dash: Dash is unable to execute read only scripts

2010-07-12 Thread Jonathan Nieder
Hi Krzysztof, Sorry for the long delay in responding. Krzysztof A. Sobiecki wrote: [...] > +++ dash-0.5.6.1/src/input.c 2010-06-25 00:45:19.0 +0200 > @@ -400,15 +402,28 @@ popstring(void) > */ > > int > +isdir(const char *name) > +{ > + struct stat64 st; > + if (stat64(name

Bug#586807: dash: Dash is unable to execute read only scripts

2010-06-22 Thread Jonathan Nieder
retitle 586736 dash: Can't open read-only scripts merge 586807 586736 thanks Krzysztof A. Sobiecki wrote: > sob...@solis:/tmp$ ./a.sh > /bin/sh: Can't open ./a.sh > > During the boot-up process / partition is read-only and because of that > dash is unable to execute /etc/init.d/rcS and /etc/ini

Bug#586807: dash: Dash is unable to execute read only scripts

2010-06-22 Thread Krzysztof A. Sobiecki
Package: dash Version: 0.5.6.1-1~exp0 Severity: critical When user doesn't have write access to script : sob...@solis:/tmp$ ls -lh ./a.sh -r-xr-x--- 1 sobkas sobkas 9 06-22 19:20 ./a.sh dash fails to start it with this error(I have dash as sh) sob...@solis:/tmp$ ./a.sh /bin/sh: Can't open ./a.