delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/21/21:08:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_YG
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew DOT DeFaria AT tellabs DOT com>
Subject: Re: [ -w filename ] returns true when permissions are -r--r--r--
Date: Thu, 21 Jul 2011 18:07:11 -0700
Lines: 57
Message-ID: <j0aig0$8t7$1@dough.gmane.org>
References: <20110721133148 DOT GL15150 AT calimero DOT vinschen DOT de> <2BF01EB27B56CC478AD6E5A0A28931F202EC747E AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <4E289C2F DOT 6010701 AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11
In-Reply-To: <4E289C2F.6010701@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 7/21/2011 2:37 PM, Larry Hall (Cygwin) wrote:
> 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.
I'm seeing the exact same behavior. I see this on my C drive (I cd'ed to 
/tmp). The drive is:

Usscandrewdl:/usr/lib/csih/getVolInfo.exe /cygdrive/c
Device Type        : 7
Characteristics    : 20
Volume Name        : <>
Serial Number      : 2956864138
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 700ff
   FILE_CASE_SENSITIVE_SEARCH  : TRUE
   FILE_CASE_PRESERVED_NAMES   : TRUE
   FILE_UNICODE_ON_DISK        : TRUE
   FILE_PERSISTENT_ACLS        : TRUE
   FILE_FILE_COMPRESSION       : TRUE
   FILE_VOLUME_QUOTAS          : TRUE
   FILE_SUPPORTS_SPARSE_FILES  : TRUE
   FILE_SUPPORTS_REPARSE_POINTS: TRUE
   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
   FILE_VOLUME_IS_COMPRESSED   : FALSE
   FILE_SUPPORTS_OBJECT_IDS    : TRUE
   FILE_SUPPORTS_ENCRYPTION    : TRUE
   FILE_NAMED_STREAMS          : TRUE
   FILE_READ_ONLY_VOLUME       : FALSE
   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
   FILE_SUPPORTS_TRANSACTIONS  : FALSE


-- 
Andrew DeFaria <http://defaria.com>
Why can we shop in a store but we can't store in a shop?


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019