mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-30 21:00:22 +00:00
core: harden shell scripts against injection and insecure permissions (#13239)
This commit is contained in:
parent
283e762b83
commit
c8606e9fcc
6 changed files with 25 additions and 13 deletions
|
|
@ -150,7 +150,7 @@ function install() {
|
|||
curl -fsSL "https://raw.githubusercontent.com/runtipi/runtipi/master/scripts/install.sh" -o "install.sh"
|
||||
chmod +x install.sh
|
||||
$STD ./install.sh
|
||||
chmod 666 /opt/runtipi/state/settings.json 2>/dev/null || true
|
||||
chmod 660 /opt/runtipi/state/settings.json 2>/dev/null || true
|
||||
rm -f /opt/install.sh
|
||||
msg_ok "Installed ${APP}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue