diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-26 11:11:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-26 13:40:30 +0000 |
commit | 8d8c58372fd710a32a7322c7ebbf713ac59883d2 (patch) | |
tree | 7a534fd3f560878af31b808421f3cbef835c1767 /scripts/lib | |
parent | 234edf918aa376130300e6a21c52425a01ae94f1 (diff) | |
download | poky-8d8c58372fd710a32a7322c7ebbf713ac59883d2.tar.gz |
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: ed9d887e8d71a800db19826264de552f7736dc6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/resulttool/store.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): | |||
87 | if args.logfile_archive: | 87 | if args.logfile_archive: |
88 | logdir = args.logfile_archive + "/" + tagname | 88 | logdir = args.logfile_archive + "/" + tagname |
89 | shutil.copytree(tempdir, logdir) | 89 | shutil.copytree(tempdir, logdir) |
90 | os.chmod(logdir, 0o755) | ||
90 | for root, dirs, files in os.walk(logdir): | 91 | for root, dirs, files in os.walk(logdir): |
91 | for name in files: | 92 | for name in files: |
92 | if not name.endswith(".log"): | 93 | if not name.endswith(".log"): |