Bug? Mercurial permissions

Tuomo Valkonen tuomo.valkonen@iki.fi
Wed May 30 17:49:00 GMT 2012


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



More information about the Cygwin mailing list