From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas J Brealey To: gnu-win32@cygnus.com Subject: Problem with test -r Date: Fri, 17 Oct 1997 08:23:00 -0000 Message-id: <199710171455.PAA03910@sdssuna.culham.aeat.co.uk> X-SW-Source: 1997-10/msg00360.html Hi I am using the CYGWIN32 port of bash with great success but I have just encountered one minor problem with test -r: On Windows NT 4.0 SP3 I get: bash$ touch xxxx bash$ ls -l xxxx -rw-rw-rw- 1 1010 everyone 0 Oct 17 14:31 xxxx bash$ if test -r xxxx ; then echo ok ;fi ok bash$ chmod o-rwx xxxx bash$ ls -l xxxx -rw-rw---- 1 1010 everyone 0 Oct 17 14:31 xxxx bash$ On Solaris 2.5 with bash 2.01.0 I get: bash$ touch xxxx bash$ ls -l xxxx -rw-r--r-- 1 nick users 0 Oct 17 15:46 xxxx bash$ if test -r xxxx ; then echo OK ; fi OK bash$ chmod o-rwx xxxx bash$ ls -l xxxx -rw-r----- 1 nick users 0 Oct 17 15:46 xxxx bash$ if test -r xxxx ; then echo OK ; fi OK bash$ I am using b18 with the original bash but with Sergey's cygwin.dll's from 24 September 1997. The output of mount looks like: bash$ mount mount Device Directory Type Flags \\.\tape1: /dev/st1 native no-mixed,text!=binary \\.\tape0: /dev/st0 native no-mixed,text!=binary \\.\b: /dev/fd1 native no-mixed,text!=binary \\.\a: /dev/fd0 native no-mixed,text!=binary f:\gnuwin32\b18\H-i386-cygwin32 / native no-mixed,text!=binary bash$ Does anyone have any ideas? Regards Nick - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".