Skip to content

Commit

Permalink
CCACHE_NON_ROOT: Fix access to /root
Browse files Browse the repository at this point in the history
Reported by:	ler
  • Loading branch information
bdrewery authored and dlangille committed Oct 18, 2021
1 parent a78fcf1 commit 8d56885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/share/poudriere/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" || \
Expand Down

0 comments on commit 8d56885

Please sign in to comment.