Greetings, Steven Penny!
> With Linux, these commands produce expected results:
> $ cd /tmp
> $ touch alpha.txt
> $ test -r alpha.txt; echo "$?"
> 0
> $ chmod -r alpha.txt
> $ test -r alpha.txt; echo "$?"
> 1
> $ chmod +r alpha.txt
> $ test -r alpha.txt; echo "
Am 23.12.2018 um 06:59 schrieb Steven Penny:
With Linux, these commands produce expected results:
$ cd /tmp
$ touch alpha.txt
$ test -r alpha.txt; echo "$?"
0
$ chmod -r alpha.txt
$ test -r alpha.txt; echo "$?"
1
$ chmod +r alpha.txt
$ test -r alpha.txt; echo
With Linux, these commands produce expected results:
$ cd /tmp
$ touch alpha.txt
$ test -r alpha.txt; echo "$?"
0
$ chmod -r alpha.txt
$ test -r alpha.txt; echo "$?"
1
$ chmod +r alpha.txt
$ test -r alpha.txt; echo "$?"
0
However with Cygwin, unexpected results are
3 matches
Mail list logo