Mail Archives: cygwin/1999/01/07/21:17:34
Hi all,
I've got to be doing something wrong:
~> touch testfile
~> ls -l testfile
-rw-r--r-- 1 0 Everyone 0 Jan 7 17:50 testfile
~> if [ -w testfile ] ; then echo "WRITEABLE"; else echo "READONLY"; fi
READONLY
~> grep kevinb /etc/passwd
kevinb::1238:513:Kevin Bailey://server/users/kevinb:/bin/sh
~> grep Everyone /etc/group
Everyone::0:
~> umask
000
~> type test
test is a shell builtin
Any ideas why -w fails ? I suspect its something in the /etc
files or my umask but its beyond me.
All other tests that I've tried work (readable, executable, ...)
I'm using bash under B20.1 if that helps.
Thanks,
krb
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -