This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with test -r


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]