[Bug 6026] New: umask unsoundness on creating .hg/cache/checklink?
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue Nov 27 15:28:41 UTC 2018
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: bugzilla at mercurial-scm.org
Reporter: durin42 at gmail.com
CC: mercurial-devel at 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.
More information about the Mercurial-devel
mailing list