This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug? Mercurial permissions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]