From 94efc6a14c09886a8e2837d5b3978057cf2c64d2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 26 Nov 2024 11:11:12 +0000 Subject: resulttool/store: Fix permissions of logarchive We want the results directory to be visable to other users, tweak the permissions of the created directory to ensure this is the case. (From OE-Core rev: bf121dc86f2c3443673f5ff3d486237678044479) Signed-off-by: Richard Purdie (cherry picked from commit ed9d887e8d71a800db19826264de552f7736dc6a) Signed-off-by: Steve Sakoman --- scripts/lib/resulttool/store.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index 578910d234..b143334e69 100644 --- a/scripts/lib/resulttool/store.py +++ b/scripts/lib/resulttool/store.py @@ -87,6 +87,7 @@ def store(args, logger): if args.logfile_archive: logdir = args.logfile_archive + "/" + tagname shutil.copytree(tempdir, logdir) + os.chmod(logdir, 0o755) for root, dirs, files in os.walk(logdir): for name in files: if not name.endswith(".log"): -- cgit v1.2.3-54-g00ecf