Stephen Dowdy wrote:
> Okay, here ya go:
>
> # mount -o remount,ro /d2
> # env -i strace -o /tmp/dash-test-w-directory.strace -f -s 128 /bin/dash -c
> '[ ! -w /d2 ] && echo "Not Writeable"'
> # env -i strace -o /tmp/dash-test-w-file.strace -f -s 128 /bin/dash -c '[ !
> -w /d2/foompy ] && echo "Not Writeable"'
> Not Writeable
Thanks! So it was using stat(2); next time I'll pay attention to
the version number. :)
I suspect this was fixed in 0.5.7-1:
* test builtin: use faccessat if available (closes: #539909,
#556521) so ACLs and other corner cases can be handled
correctly.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]