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 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: cygwin AT cygwin DOT com Subject: Re: Bug? Mercurial permissions References: Date: Wed, 30 May 2012 19:44:04 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Tuomo Valkonen" Message-ID: In-Reply-To: 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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