delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/05/17:50:05

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:to:from:subject:date:message-id:reply-to; q=
dns; s=default; b=aApVgM6AUvNBecOGrO3YQXLsc9lzCZLsKNTTb6lzt8D6SM
bXBmi0q1qGST3HnhBOtCjdzm8sbXQ2CT+RhgAeU2E2FtToFxOIfsxoVUCkUyyPMY
7lD7PP2QFlmHInBt/jej3QCt2CeBZ9hU2SAgVgCs5CHHJGm58nS2uiR4CzXgY=
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:to:from:subject:date:message-id:reply-to; s=
default; bh=hzXWk0xxSE+CNns2I/QHt0sS+WU=; b=oXwAd8uAr5A9tKjrdoeF
KazXG3TW2ujxpzbp4COpNz5UcyK0o83215pYQZ+2Mt3djHjXlAzu9RhkGfO1IHDB
KFycwb1jWW1XyGbvwfUEI7bPUB9T7oIGVv8kB0sSXHy9xxomkPsLklDFMr5czSLk
Yzhi3GBiNClZh09CKCBlEXo=
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=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Will Parsons <varro AT nodomain DOT invalid>
Subject: discrepancy btw. Cygwin 32 & 64 wrt file permissions
Date: Thu, 5 Mar 2015 22:49:28 +0000 (UTC)
Lines: 34
Message-ID: <slrnmfhnbo.74m.varro@anukis.local>
Reply-To: gyliamos AT gmail DOT com
User-Agent: slrn/1.0.2 (FreeBSD)
X-IsSubscribed: yes

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? 

-- 
Will


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