delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/22/10:20:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: [ -w filename ] returns true when permissions are -r--r--r--
Date: Fri, 22 Jul 2011 07:15:12 -0700
Lines: 37
Message-ID: <j0c0lg$rg8$2@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> <j0aig0$8t7$1 AT dough DOT gmane DOT org> <4E28E57A DOT 7070609 AT cygwin DOT com> <j0b1k2$a55$1 AT dough DOT gmane DOT org> <20110722065738 DOT GY15150 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11
In-Reply-To: <20110722065738.GY15150@calimero.vinschen.de>
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 07/21/11 23:57, Corinna Vinschen wrote:
> On Jul 21 22:25, Andrew DeFaria wrote:
>> On 07/21/11 19:50, Larry Hall (Cygwin) wrote:
>>> On 7/21/2011 9:07 PM, Andrew DeFaria wrote:
>>>> I'm seeing the exact same behavior. I see this on my C drive (I
>>>> cd'ed to /tmp). The drive is:
>>> Weird.  So what are you using?  XP and Cygwin 1.7.9 or something else?
>> Yes. At work XP and 1.7.9.
>>
>> Here at home it's Win 7 (VM) and 1.7.7. Still the same:
>>
>> Neptune:pwd
>> /tmp
>> Neptune:df .
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> C:/cygwin             54604900  19369104  35235796  36% /
>> Neptune:ll afile
>> -r--r--r-- 1 andrew None 0 2011-07-21 22:24 afile
>> Neptune:[ -w afile ]&&  echo writable || echo not writable
>> writable
>> Neptune:echo abc>>  afile
>> Neptune:ll afile
>> -r--r--r-- 1 andrew None 4 2011-07-21 22:24 afile
>> Neptune:uname -a
>> CYGWIN_NT-6.1-WOW64 Neptune 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
>> Neptune:
> Output of `id', please?  Is the administrators group in the group
> list?  If so, problem solved.
>
>
> Corinna
Ugh. You're right. I'm in the administrators group. Sorry.
-- 
Andrew DeFaria <http://defaria.com>
No one ever says, "It's only a game", when their team is winning.


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