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

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Thu Jul 21 21:38:00 GMT 2011


On 7/21/2011 5:13 PM, Nellis, Kenneth wrote:
>> 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

Thanks.  Are you doing the above steps from a directory on your C or D
drive?  If D, is it an internal drive to that machine?  If not, can
you tell us the kind of drive it is and send the results of
/usr/lib/csih/getVolInfo.exe /cygdrive/d to the list.  If you don't
have getVolInfo, please install the csih package.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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