Hi,

Vagrant Cascadian wrote:

>     Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
[...]
> mount thinks it's writeable, but the NFS server doesn't allow writes on that
> export. so it is an unusual situation.

> On Sun, May 09, 2010 at 09:01:41PM -0500, Raphael Geissert wrote:

>> [1]http://git.kernel.org/?p=utils/dash/dash.git;a=commitdiff;h=1d68712ba2e439f36874c4ed1e3d9ffec177a06c
>
> hrm. no luck.
> 
> to test, i ran the following script, once with bash, once with dash, once with
> /bin/sh as bash, and once with /bin/sh as dash:
>
>   set -x
>   [ -w / ] ; echo $?
>   test -w / ; echo $?
>   /usr/bin/test -w / ; echo $?
>
> /usr/bin/test and bash always correctly return 1, and dash always returns 0,
> with or without the above mentioned patch applied (dash 0.5.5.1-3 with above
> patch).

Just to check: did you autoreconf and reconfigure after applying the
patch?  Does your config.h include HAVE_FACCESSAT?  Are you root or
is this script setuid?

Sorry for the long silence.

Regards,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to