Skip to content

Commit

Permalink
Fix asset permissions after unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
safing-bot committed May 30, 2023
1 parent 465e9e0 commit 9bfe0e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ install_or_upgrade() {
# Untar the archive on root
log info "Extracting assets to /opt/safing/portmaster"
tar --extract --no-same-owner --no-overwrite-dir -m --file="${assets}"
log info "Fixing asset permissions"
chmod -R a+r /opt/safing/portmaster

cp "${pmstart}" /opt/safing/portmaster/portmaster-start
chmod 0755 /opt/safing/portmaster/portmaster-start

Expand Down

0 comments on commit 9bfe0e9

Please sign in to comment.