summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2025-06-06 11:39:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-26 11:02:34 +0100
commitba290e7ec884209239baeb52f7efc9ca7ccd717c (patch)
tree33fd926eab238fe91471700516caa329143a4276 /bitbake/lib/bb/fetch2/git.py
parent24cab297ed78840817f04ee0432a01ae8564f75d (diff)
downloadpoky-ba290e7ec884209239baeb52f7efc9ca7ccd717c.tar.gz
sstate: apply proper umask when fetching from SSTATE_MIRROR
Currently, files and directories created under ${SSTATE_DIR} when fetching from an sstate mirror are not created with group write, unlike when the sstate artifacts are generated locally. That's inconsistent, and problematic when the local sstate dir is shared among multiple users. Wrap the fetching in a bb.utils.umask() context manager, and for simplicity move the mkdir of SSTATE_DIR inside that. (From OE-Core rev: a6038553aaef3b88b834a09018c524c4fa41e625) Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions