From a8eb1c421be5d2d50c80d7741af20961c9bc8cd7 Mon Sep 17 00:00:00 2001 From: "Igor B. Poretsky" Date: Thu, 27 Nov 2025 19:48:32 +0300 Subject: [PATCH] Clean data directory (#7378) It seems to be no point to copy /etc/skel content to newly created data directory. --- docs/static/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/static/install.sh b/docs/static/install.sh index 94cccd2e8..b631058c7 100755 --- a/docs/static/install.sh +++ b/docs/static/install.sh @@ -227,7 +227,10 @@ trap aborted INT configure_systemd() { if ! id local-ai >/dev/null 2>&1; then info "Creating local-ai user..." - $SUDO useradd -r -s /bin/false -U -m -d /var/lib/local-ai local-ai + $SUDO useradd -r -s /bin/false -U -M -d /var/lib/local-ai local-ai + $SUDO mkdir -p /var/lib/local-ai + $SUDO chmod 0755 /var/lib/local-ai + $SUDO chown local-ai:local-ai /var/lib/local-ai fi info "Adding current user to local-ai group..."