[pbuilder] 02/02: pbuilder-modules: Set sticky bit on /dev/shm

James Clarke jrtc27 at moszumanska.debian.org
Wed Jan 18 11:39:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

jrtc27 pushed a commit to branch master
in repository pbuilder.

commit c87962b935327aaed8d5d0d30b94032fdc21020e
Author: James Clarke <jrtc27 at debian.org>
Date:   Wed Jan 18 11:34:42 2017 +0000

    pbuilder-modules: Set sticky bit on /dev/shm
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index f009426..141ab0d 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -364,7 +364,7 @@ function mountproc () {
         log.i "creating /{dev,run}/shm"
         rm -df "$BUILDPLACE/dev/shm" "$BUILDPLACE/run/shm"
         mkdir -p "$BUILDPLACE/dev/shm"
-        chmod 777 "$BUILDPLACE/dev/shm"
+        chmod 1777 "$BUILDPLACE/dev/shm"
         # old releases might not have /run.  We create it nonetheless, can't harm
         mkdir -p "$BUILDPLACE/run"
         ln -s /dev/shm "$BUILDPLACE/run/shm"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list