This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Bash: <test -w file> = true for a read-only file !!!
- To: gnu-win32 at cygnus dot com
- Subject: Bash: <test -w file> = true for a read-only file !!!
- From: Laurent Ricci <lri at wag dot ch>
- Date: Thu, 08 Oct 1998 16:28:36 +0200
Hi B19 developers,
The test -w doesn't work on windows and unix files !!!
If I perform the following statement on a read-only file
MyReadOnlyFile, the result is <Is writable> !!!
if [-w MyReadOnlyFile ]
then
echo "Is writable"
else
echo "Is readonly"
fi
My gnu-win32 beta release is:
uname -a : CYGWIN32_NT GLOBBY10 4.0 19.1 i686 unknown
Thanks for help or for patch...
bye
---
Laurent Ricci
Workstation ag
tel: ++(41 21) 925 88 37
fax: ++(41 21) 925 88 01
e-mail: lri@wag.ch
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".