[Bug 5492] New: Mercurial does not preserver unix ACL in '.hg.'

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Mar 1 10:43:36 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5492

            Bug ID: 5492
           Summary: Mercurial does not preserver unix ACL in '.hg.'
           Product: Mercurial
           Version: 4.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: pierre-yves.david at ens-lyon.org
                CC: mercurial-devel at mercurial-scm.org

Mercurial is successfully preserving the unix standard permission of file in
'.hg/' (it us the same one as the one on '.hg/') but it does not perserve the
unix ACL.

Note that many unix tool also ignores ACL so Mercurial is not doing especially
bad here. In addition ACL support is non-trivial since Python itself does not
support interacting with ACL natively.

But it is still worth tracking the issue, we might be able to do some progress.
There is a Python module to handle ACL (https://pypi.python.org/pypi/PyACL). We
could add support for ACL preservation if the module exists and maybe vendor
it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list