This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Problem with test -r
- To: gnu-win32 at cygnus dot com
- Subject: Problem with test -r
- From: Nicholas J Brealey <nick dot brealey at aeat dot co dot uk>
- Date: Fri, 17 Oct 1997 15:55:40 +0100
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".