delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/30/13:44:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Bug? Mercurial permissions
References: <op DOT we4r2buifouyte AT noi3>
Date: Wed, 30 May 2012 19:44:04 +0200
MIME-Version: 1.0
From: "Tuomo Valkonen" <tuomo DOT valkonen AT iki DOT fi>
Message-ID: <op.we4t7qk0fouyte@noi3>
In-Reply-To: <op.we4r2buifouyte@noi3>
User-Agent: Opera Mail/11.64 (Win32)
X-SA-Exim-Connect-IP: 86.33.197.83
X-SA-Exim-Mail-From: tuomo DOT valkonen AT iki DOT fi
X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false
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 Wed, 30 May 2012 18:57:37 +0200, Tuomo Valkonen <tuomo DOT valkonen AT iki DOT fi>  
wrote:
> ~/test2$ ls -l bar.txt foo/baz.txt
> -rw-------+ 1 tuomov None 0 2012-05-30 18:51 bar.txt
> -rw-------  1 tuomov None 0 2012-05-30 18:51 foo/baz.txt

Actually -- didn't occur to me earlier to check it -- the permissions under
'test', that has not gone through Mercurial, are exactly the same. So why
is one directory level deeper losing all the SYSTEM permissions?

c:\cygwin\home\tuomov has
	Full control for SYSTEM, tuomov, Administratoren. Not inherited.
c:\cygwin\home\tuomov\test has
	Full control for tuomov ("This folder only"), and
                          SYSTEM, Administratoren ("This folder, subfolders  
and files"),
                          CREATOR OWNER, CREATOR GROUP ("Subfolders and  
files only"),
         Read only for Everyone ("This folder, subfolders, and files"), and
                       None ("This folder only").
c:\cygwin\home\tuomov\test\foo has
	Full control for tuomov, SYSTEM, Administratoren ("This folder only"), and
                          CREATOR OWNER, CREATOR GROUP ("Subfolders and  
files only"),
         Read only for Everyone ("This folder, subfolders, and files"), and
                       None ("This folder only").

So somewhere the permissions inheritance bits are also altering.

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