Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-10-18 00:46:27 +0300
committerBryan Drewery <bryan@shatow.net>2021-10-18 00:46:27 +0300
commit964cf327fe6f585a39bc0c86493c6cdb963dfdfb (patch)
tree8335e58b54ec9ace7595d18949cb68d80e48879c /src
parent6ca9c6dc3f3a08f4cc1c589617170a38b35c6b1c (diff)
CCACHE_NON_ROOT: Fix access to /root
Reported by: ler
Diffstat (limited to 'src')
-rw-r--r--src/share/poudriere/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 8fea0f12..5142e506 100644
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -2586,7 +2586,7 @@ setup_ccache() {
WITH_CCACHE_BUILD=yes
CCACHE_DIR=${HOME}/.ccache
EOF
- chmod 755 "${mnt}${HOME}"
+ chmod 755 "${tomnt}${HOME}"
if [ "${CCACHE_GID}" != "${PORTBUILD_GID}" ]; then
injail pw groupadd "${CCACHE_GROUP}" \
-g "${CCACHE_GID}" || \