Skip to content

Commit

Permalink
Merge pull request #702 from Fei1Yang/apparmor-path
Browse files Browse the repository at this point in the history
Fix path variables in AppArmor profile
  • Loading branch information
intrigeri authored Oct 4, 2023
2 parents ac85ac4 + 6ec4845 commit 25ebbe6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apparmor/torbrowser.Browser.firefox
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <tunables/global>
#include <tunables/torbrowser>

@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox.real
@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser/Browser/firefox.real

profile torbrowser_firefox @{torbrowser_firefox_executable} {
#include <abstractions/audio>
Expand Down
2 changes: 1 addition & 1 deletion apparmor/torbrowser.Tor.tor
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <tunables/global>
#include <tunables/torbrowser>

@{torbrowser_tor_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/TorBrowser/Tor/tor
@{torbrowser_tor_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser/Browser/TorBrowser/Tor/tor

profile torbrowser_tor @{torbrowser_tor_executable} {
#include <abstractions/base>
Expand Down
2 changes: 1 addition & 1 deletion apparmor/tunables/torbrowser
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@{torbrowser_installation_dir}=@{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*
@{torbrowser_installation_dir}=@{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser
@{torbrowser_home_dir}=@{torbrowser_installation_dir}/Browser

0 comments on commit 25ebbe6

Please sign in to comment.