diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-10 09:33:17 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-01-27 08:09:47 -1000 |
commit | edc3370b86fabc1d3eb19589a228146dff015471 (patch) | |
tree | a450b524085173a58431226fc76606ca89d9544b /scripts/lib/devtool/standard.py | |
parent | 229061248d45ea63cc6eec9b1e505fdad030e7a9 (diff) | |
download | poky-edc3370b86fabc1d3eb19589a228146dff015471.tar.gz |
sstate: Fix dir ownership issues in SSTATE_DIR
We currently use mkdir -p to create missing parent directories within SSTATE_DIR.
Reading the man page for mkdir mentions that parent directories are created with
the current umask, *not* the mode passed upon the commandline.
We could fix this by setting and resetting the umask but since we already have
decent python code able to do this, move to using that injecting a python function
into the chain of functions already present.
This should help fix the occasional sstate directory creation with the wrong
permissions.
[YOCTO #14385]
(From OE-Core rev: 90d1e97b7c8bce0fb49714923989c63d243eb2da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae642a4b038c6946e6c8aa9778bf09099d938a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions