delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/05/22:05:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=l4V1fc1Tde+/HG2T
UsnfNZhZNShfsYB0CHVdDVIdkqj2AhHhhv8rAcspC30K7+RdLy3U7HJSQhZC4XYI
yAeAzETy3U56+76z7FJIVccbsMPnDJrWYhBVTHAkI1ceuC5UrLj8k4Pd+3+0WNDZ
qlebcxBDjuA7WKbt3/Lj2NE2Wco=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Vnhu5iXgClYZuVyv3O1hQG
lKapY=; b=RMzwoE59PdliIys8d0xvFL+FuueDHor+7+6YEVfmtPPww2nDunSEG2
mx0WZ+vG9UXccjx2h7iYSz1BJOT0YuD4Y8ZHQTqdKR3PmcXJDyOhG955+WmKkrUE
Z5d/Tqw5+MXs/pZQpaTKzlOT9chcrGT2KIpVPiSR/R0kXichA1rME=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,RCVD_IN_PSBL,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 6 Mar 2015 06:02:01 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <578953828.20150306060201@yandex.ru>
To: Will Parsons <gyliamos AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: discrepancy btw. Cygwin 32 & 64 wrt file permissions
In-Reply-To: <slrnmfhnbo.74m.varro@anukis.local>
References: <slrnmfhnbo DOT 74m DOT varro AT anukis DOT local>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Will Parsons!

> I've been using Cygwin for some time now, but recently decided to try
> a parallel installation of Cygwin 64 on the same machine.  I've
> noticed a strange discrepancy between how Cygwin 32 & 64 report file
> permissions:

> (32-bit)

> % uname -a
> CYGWIN_NT-6.1-WOW sothis 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin

> % touch x
> % chmod a-w x
> % ls -l x
> -r--r--r-- 1 william None 0 Mar  5 17:41 x
> % ls -ln x
> -r--r--r-- 1 197608 197121 0 Mar  5 17:41 x


> (64-bits)

> % uname -a
> CYGWIN_NT-6.1 sothis 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin

> % ls -l x
> -rw-r--r-- 1 william None 0 Mar  5 17:41 x
> % ls -ln x
> -rw-r--r-- 1 197608 197121 0 Mar  5 17:41 x


> Why does 64-bit Cygwin have a different idea of whether the file is
> writable? 

Because they get different mount options? That would've been my first guess.
I could be wrong, though.
Either way,

Problem reports:       http://cygwin.com/problems.html


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 06.03.2015, <06:00>

Sorry for my terrible english...


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