Skip to content

Commit

Permalink
sandbox-permissions: Add /var/tmp location for TMPDIR alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed May 18, 2024
1 parent e2a9438 commit b1103f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/sandbox-permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ Other filesystem access guidelines include:
directory, and can be useful for applications that hardcode file paths
in ``~/``.
- If an application uses ``$TMPDIR`` to contain lock files you may want to
add a wrapper script that sets it to ``$XDG_RUNTIME_DIR/app/$FLATPAK_ID``.
add a wrapper script that sets it to
``$XDG_RUNTIME_DIR/app/$FLATPAK_ID`` (tmpfs) or ``/var/tmp`` (persistent
on host).
- Retaining and sharing configuration with non-Flatpak installations is to
be avoided.

Expand Down

0 comments on commit b1103f3

Please sign in to comment.