mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00
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>
This commit is contained in:
parent
234edf918a
commit
8d8c58372f
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user