mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
sstate: set mode explicitly when creating directories in sstate-cache
When creating directories in the sstate-cache, explicitly set the mode passed to mkdir to 0775 so that the directories are group writable, as otherwise they cannot be shared with other users. (From OE-Core rev: 1b0624dffe1b8496533c86dfed873112c8c0a01b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d734975024
commit
20d9825ed6
@@ -787,7 +787,7 @@ sstate_create_package () {
|
||||
return
|
||||
fi
|
||||
|
||||
mkdir -p `dirname ${SSTATE_PKG}`
|
||||
mkdir --mode=0775 -p `dirname ${SSTATE_PKG}`
|
||||
TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX`
|
||||
|
||||
# Use pigz if available
|
||||
|
||||
Reference in New Issue
Block a user