D12631: docker: avoid /tmp write access issues by fixing permissions
Mathiasdm (Mathias De Maré)
phabricator at mercurial-scm.org
Wed Jun 8 10:31:30 UTC 2022
Mathiasdm created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
stable
REVISION DETAIL
https://phab.mercurial-scm.org/D12631
AFFECTED FILES
contrib/packaging/docker/rhel8
CHANGE DETAILS
diff --git a/contrib/packaging/docker/rhel8 b/contrib/packaging/docker/rhel8
--- a/contrib/packaging/docker/rhel8
+++ b/contrib/packaging/docker/rhel8
@@ -16,3 +16,6 @@
# For rust extensions
RUN yum install -y cargo
+
+# avoid incorrect docker image permissions on /tmp preventing writes by non-root users
+RUN chmod 1777 /tmp
To: Mathiasdm, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list