X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: cygwin@cygwin.com
Subject: Re: Bug? Mercurial permissions
References: <op.we4r2buifouyte@noi3>
Date: Wed, 30 May 2012 19:44:04 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Tuomo Valkonen" <tuomo.valkonen@iki.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.valkonen@iki.fi
X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 30 May 2012 18:57:37 +0200, Tuomo Valkonen <tuomo.valkonen@iki.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

