From 09d1587e9f51cca4b23ebe36a060b6061d52e002 Mon Sep 17 00:00:00 2001 From: randogoth Date: Thu, 5 Feb 2026 07:41:25 +0200 Subject: [PATCH] shell init log permission fix --- scripts/shell-init.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/shell-init.sh b/scripts/shell-init.sh index 74123aa..0135a6a 100644 --- a/scripts/shell-init.sh +++ b/scripts/shell-init.sh @@ -4,9 +4,6 @@ log_shell_init() { local uid="${UID:-}" [[ -n "$uid" ]] || uid="$(id -u 2>/dev/null || echo unknown)" - # Avoid a shared logfile in /tmp: if it is ever created root-owned (e.g. from - # a root shell), user shells will spam "Permission denied" on every launch. - # # Override with: # export NANUQSAURUS_SHELL_INIT_LOG_FILE=/path/to/log local log_file="${NANUQSAURUS_SHELL_INIT_LOG_FILE:-/tmp/shell-init-${uid}.log}"