From 203f2c3e97172a8ec82e57c85891d6806be9a4fe Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 7 Jan 2025 19:22:43 +0100 Subject: [PATCH] grml-live: drop chown of minifai logs minifai should never write logs as another user. --- grml-live | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grml-live b/grml-live index 99ea9c90..a2c29d21 100755 --- a/grml-live +++ b/grml-live @@ -169,9 +169,8 @@ store_logfiles() { cp -r "$CHROOT_OUTPUT"/grml-live/log/* "$LOG_OUTPUT"/fai/ rm -rf "$CHROOT_OUTPUT"/grml-live/log - # fixup owners - chown root:adm "$LOG_OUTPUT"/fai/* - chmod 664 "$LOG_OUTPUT"/fai/* + # ensure files are readable. + chmod a+rX "$LOG_OUTPUT"/fai/ } # }}}