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

Nellis, Kenneth Kenneth.Nellis@acs-inc.com
Thu Jul 21 21:13:00 GMT 2011


> From: Corinna Vinschen
> On Jul 21 07:43, Nellis, Kenneth wrote:
> > FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm
> > seeing the same thing:
> What system?  XP, Vista?  7?
> What's the output of `id'?

$ /usr/lib/csih/winProductName
Microsoft Windows XP Professional Service Pack 3 (build 2600)
$ id
uid=12779(knellis) gid=10545(knellis) groups=10545(knellis),0(root),544(Administrators),545(Users)
$ uname -r
1.7.9(0.237/5/3)
$

cygcheck -svr output attached

--Ken Nellis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 30743 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110721/c5a08e6a/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list