Skip to content

Commit

Permalink
Use permissions from archive when unpacking assets
Browse files Browse the repository at this point in the history
  • Loading branch information
safing-bot committed Mar 1, 2023
1 parent 0d50e54 commit 7ae9247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ install_or_upgrade() {

# Untar the archive on root
log info "Extracting assets to /opt/safing/portmaster"
tar --extract --no-same-owner --no-same-permissions --no-overwrite-dir -m --file="${assets}"
tar --extract --no-same-owner --no-overwrite-dir -m --file="${assets}"
cp "${pmstart}" /opt/safing/portmaster/portmaster-start
chmod 0755 /opt/safing/portmaster/portmaster-start

Expand Down

0 comments on commit 7ae9247

Please sign in to comment.