public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] ci: make vm_start logs readable by all users
@ 2021-12-23  5:57 Uladzimir Bely
  2022-01-04 19:58 ` Henning Schild
  0 siblings, 1 reply; 5+ messages in thread
From: Uladzimir Bely @ 2021-12-23  5:57 UTC (permalink / raw)
  To: isar-users

This changes permissions for ${BUILD_DIR}/vm_start_.*_log.txt from 600
to 644 to make them readable not only for jenkins user.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 testsuite/vm_boot_test/vm_boot_test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/vm_boot_test/vm_boot_test.py b/testsuite/vm_boot_test/vm_boot_test.py
index 01623c5c..69e7f4ae 100644
--- a/testsuite/vm_boot_test/vm_boot_test.py
+++ b/testsuite/vm_boot_test/vm_boot_test.py
@@ -46,6 +46,7 @@ class VmBase(Test):
         fd, output_file = tempfile.mkstemp(suffix='_log.txt',
                                            prefix='vm_start_' + distro + '_' +
                                            arch + '_', dir=build_dir, text=True)
+        os.chmod(output_file, 0o644)
 
         cmdline = start_vm.format_qemu_cmdline(arch, build_dir, distro,
                                                output_file, None)
-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-10 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23  5:57 [PATCH] ci: make vm_start logs readable by all users Uladzimir Bely
2022-01-04 19:58 ` Henning Schild
2022-01-10 12:50   ` Uladzimir Bely
2022-01-10 13:32     ` Henning Schild
2022-01-10 14:19       ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox