This is the mail archive of the cygwin 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]
Other format: [Raw text]

[ -w filename ] returns true when permissions are -r--r--r--


Is this broken?  Or a known windows/cygwin discrepancy?  Or am I missing
something with my posix/windows file permissions settings

reid.thompson@ws-jrt ~
$ ls -rlt afile
-r--r--r-- 1 reid.thompson Domain Users 6 2011-07-20 14:02 afile

reid.thompson@ws-jrt ~
$ if [ -w afile ]; then   echo " file is writeable"; else   echo " file
is not writeable"; fi
 file is writeable



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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