fix(installer): config dir should be read only
Now that liquidsoap does not write any file in /etc/libretime, we can make it read only.
This commit is contained in:
parent
00bb922b79
commit
d338e2ec88
3
install
3
install
|
@ -395,8 +395,7 @@ if ! id "$LIBRETIME_USER" &> /dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "creating project directories"
|
info "creating project directories"
|
||||||
# TODO: Config dir should not be owned by www-data and should be readonly
|
mkdir -p "$CONFIG_DIR"
|
||||||
mkdir_and_chown "$LIBRETIME_USER" "$CONFIG_DIR"
|
|
||||||
mkdir_and_chown "$LIBRETIME_USER" "$WORKING_DIR"
|
mkdir_and_chown "$LIBRETIME_USER" "$WORKING_DIR"
|
||||||
mkdir_and_chown "$LIBRETIME_USER" "$LOG_DIR"
|
mkdir_and_chown "$LIBRETIME_USER" "$LOG_DIR"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue