Skip to content

Commit

Permalink
Adjust welcome screen items
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jun 20, 2023
1 parent 229a9de commit 0b3cc33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ echo "" >${fix_log} && tolog "Start fixing..."

# Fix common releases permissions
[[ -d "/var/tmp" ]] && sudo chmod 777 /var/tmp && tolog "01. Fix tmp permissions"
[[ -d "/etc/update-motd.d" ]] && sudo chmod 755 /etc/update-motd.d/* && tolog "02. Fix update-motd.d permissions"
[[ -d "/etc/update-motd.d" ]] && sudo chmod -x /etc/update-motd.d/* && sudo chmod +x /etc/update-motd.d/{10-*,30-*} 2>/dev/null && tolog "02. Fix update-motd.d permissions"
[[ -d "/var/cache/man" ]] && sudo chown man:root /var/cache/man -R && tolog "03. Fix man permissions"
[[ -d "/var/cache/man" ]] && sudo chmod g+s /var/cache/man -R && tolog "04. Fix man permissions"
[[ -f "/etc/sudoers" ]] && sudo chown root:root /etc/sudoers && tolog "05. Fix man permissions"
Expand Down

0 comments on commit 0b3cc33

Please sign in to comment.