Skip to content

Commit

Permalink
feature: snapped browsers. Value of $VOLATILE had been changed in #336
Browse files Browse the repository at this point in the history
. As AppArmor profiles allow access only to `$XDG_RUNTIME_DIR/snap.$SNAP_INSTANCE_NAME/`, added a so-called "path traversal" to place profiles of snapped browsers exactly into respective `$XDG_RUNTIME_DIR/snap.$SNAP_INSTANCE_NAME/` subdirectories.
  • Loading branch information
vasilev committed Aug 30, 2022
1 parent 00273b4 commit ec345b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/profile-sync-daemon.in
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ do_sync_for() {
BACK_OVFS="$item-back-ovfs"
infix=
if infix_needed "$browser"; then
infix="snap.${browser%-in-snap}/"
infix="../snap.${browser%-in-snap}/"
fi
suffix=
if suffix_needed "$browser"; then
Expand Down Expand Up @@ -601,7 +601,7 @@ do_unsync() {
BACK_OVFS="$item-back-ovfs"
infix=
if infix_needed "$browser"; then
infix="snap.${browser%-in-snap}/"
infix="../snap.${browser%-in-snap}/"
fi
suffix=
if suffix_needed "$browser"; then
Expand Down Expand Up @@ -672,7 +672,7 @@ parse() {
BACKUP="$item-backup"
infix=
if infix_needed "$browser"; then
infix="snap.${browser%-in-snap}/"
infix="../snap.${browser%-in-snap}/"
fi
suffix=
if suffix_needed "$browser"; then
Expand Down

0 comments on commit ec345b0

Please sign in to comment.