Hi,
I built automake and ran the testsuite and one test failed (instsh2.test).
So I tracked down the error to the execution of 'test ! -w file'. I thought it
would check that I don't have write permission to this file.
I tried:
echo foofile
chmod 444 file
test ! -w file echo no write
Alexander Kahl [EMAIL PROTECTED] wrote:
echo foofile
chmod 444 file
test ! -w file echo no write permission
no output was given back.
It should indeed write no write permission.
However, the test program you're using there
is probably the built-in one from your shell, and
not the one from
[EMAIL PROTECTED] wrote:
Thanks for your fast answer :)
I tried it as user and it works, seems to be a root issue
[EMAIL PROTECTED]:/tmp$ echo foofile chmod 444 file test ! -w file
echo no write permission
no write permission
[EMAIL PROTECTED]:/tmp# echo foofile chmod 444 file test !
Thanks for your fast answer :)
I tried it as user and it works, seems to be a root issue
[EMAIL PROTECTED]:/tmp$ echo foofile chmod 444 file test ! -w file
echo no write permission
no write permission
[EMAIL PROTECTED]:/tmp# echo foofile chmod 444 file test ! -w file
echo no write
[EMAIL PROTECTED] wrote:
Thanks for your fast answer :)
I tried it as user and it works, seems to be a root issue
root, as in the superuser? The user that has write permission for
all files on the system?
[EMAIL PROTECTED]:/tmp$ echo foofile chmod 444 file test ! -w file
echo no write