Skip to content

Commit

Permalink
fix, do not run chmod --recursive 700 "${app_homedir}"
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Oct 31, 2020
1 parent 5ea42f5 commit 921e2d0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion usr/bin/sandbox-app-launcher
Expand Up @@ -108,7 +108,15 @@ setup() {
fi

if ! [ "$(stat -c %a "${app_homedir}")" = "700" ]; then
chmod 700 -R "${app_homedir}"
## command:
## find /home/sandbox-app-launcher-appdata/torbrowser/.tb/tor-browser -executable -type f
## output:
## /home/sandbox-app-launcher-appdata/torbrowser/.tb/tor-browser/start-tor-browser.desktop
## /home/sandbox-app-launcher-appdata/torbrowser/.tb/tor-browser/Browser/libmozavcodec.so
## ...
#chmod --recursive 700 "${app_homedir}"
## Therefore do not use --recursive.
chmod 700 "${app_homedir}"
fi

## Generate seccomp filter.
Expand Down

0 comments on commit 921e2d0

Please sign in to comment.