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

            Bug ID: 6026
           Summary: umask unsoundness on creating .hg/cache/checklink?
           Product: Mercurial
           Version: stable branch
          Hardware: All
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: duri...@gmail.com
                CC: mercurial-devel@mercurial-scm.org

The BSD and Mac builders are currently sad like this:

--- /usr/home/hg/buildslave/FreeBSD_hg_tests/build/tests/test-inherit-mode.t
+++
/usr/home/hg/buildslave/FreeBSD_hg_tests/build/tests/test-inherit-mode.t.err
@@ -70,7 +70,7 @@
   00770 ./.hg/cache/
   00660 ./.hg/cache/branch2-served
   00711 ./.hg/cache/checkisexec
-  00777 ./.hg/cache/checklink
+  00700 ./.hg/cache/checklink
   00600 ./.hg/cache/checklink-target
   00660 ./.hg/cache/manifestfulltextcache (reporevlogstore !)
   00660 ./.hg/cache/rbc-names-v1

The commentary in the test suggests to me that the permissions on the symlink
should be 0770 or more permissive, not 0700. I can't quite figure out what's
going on to make other directories etc have writable permissions for the group,
but it seems like we should make it consistent?

Caveat: I remember that permissions are weird for symlinks, but can't dredge up
details and I need to work on other things right now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to