Skip to content

Commit 472cf31

Browse files
committed
fix(deb-package): fix after-install.sh so user directory is actually created
Probably a typo, the script was using useradd with option -M, which actually forbid user directory creation.
1 parent 8e023c7 commit 472cf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/after_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
USER="cortex-tenant"
44
HOME="/var/lib/$USER"
55

6-
useradd -d $HOME -s /bin/false -M $USER > /dev/null 2>&1 || true
6+
useradd -d $HOME -s /bin/false -m $USER > /dev/null 2>&1 || true
77
chown $USER:$USER $HOME

0 commit comments

Comments
 (0)