aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-03-08 18:52:40 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-03-08 18:52:40 +0000
commit696f00b67f7ef6fd26ff34f72eddefad29304637 (patch)
treed5b9c7b363bef7cddf46587d0b42fdaa458aa698
parenta3afd05ce42b449dbd1b834fa888ff0a0231aad2 (diff)
downloadsrc-696f00b67f7ef6fd26ff34f72eddefad29304637.tar.gz
src-696f00b67f7ef6fd26ff34f72eddefad29304637.zip
Fix permissions on /tmp when installing the runtime package.
Reported by: many Patch by: Kyle Evans PR: 217574 MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=314916
-rw-r--r--release/packages/runtime.ucl1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/packages/runtime.ucl b/release/packages/runtime.ucl
index d34575bd9970..f55f1c8fef5c 100644
--- a/release/packages/runtime.ucl
+++ b/release/packages/runtime.ucl
@@ -20,6 +20,7 @@ scripts: {
post-install = <<EOD
cap_mkdb %CAP_MKDB_ENDIAN% ${PKG_ROOTDIR}/etc/login.conf
pwd_mkdb %PWD_MKDB_ENDIAN% -i -p -d ${PKG_ROOTDIR}/etc ${PKG_ROOTDIR}/etc/master.passwd
+ chmod 1777 ${PKG_ROOTDIR}/tmp
EOD
}
deps: {