Automated update

This commit is contained in:
klein panic
2025-02-21 22:01:48 -05:00
parent 81a74e699a
commit aed0fbb66d

View File

@@ -238,7 +238,10 @@ function post_process_daemon_logs() {
# Adjust ownership and permissions of the daemon log directory and its contents. # Adjust ownership and permissions of the daemon log directory and its contents.
if [ -n "$SUDO_USER" ]; then if [ -n "$SUDO_USER" ]; then
log_info "Changing ownership of $DAEMON_LOG_DIR to user $SUDO_USER" log_info "Changing ownership of $DAEMON_LOG_DIR to user $SUDO_USER"
echo "Changing ownership of $DAEMON_LOG_DIR to user $SUDO_USER"
sudo chown -R "$SUDO_USER":"$SUDO_USER" "$DAEMON_LOG_DIR" sudo chown -R "$SUDO_USER":"$SUDO_USER" "$DAEMON_LOG_DIR"
else
echo "No fucking Sudo User Bitchass"
fi fi
log_info "Setting permissions on $DAEMON_LOG_DIR and its files." log_info "Setting permissions on $DAEMON_LOG_DIR and its files."
# Directories: rwxr-xr-x; Files: rw-r--r-- # Directories: rwxr-xr-x; Files: rw-r--r--