Skip to content

Documentation/comment fixes for /var/tmp sharing

Simon McVittie requested to merge wip/smcv/task149 into master

Part of steamrt/tasks#149. No functional changes intended.

  • docs: Fix summary entry for /var/tmp

    /var/tmp is usually shared (more precisely, it depends on the status of the home directory). Start a new section for it, to which we can add any other paths that gain the same behaviour later.

  • docs: /var/tmp can technically be a symlink

    In the rare situation that we're using a tmpfs home directory, /var/tmp is a symlink rather than a bind mount, so it's not strictly true to say that it's always a bind mount. Loosen the wording here.

  • pv-wrap-home: Clarify why we only share /var/tmp when sharing home

  • pv-wrap: Clarify that pv_wrap_use_home() can override tmpfs on /home

    When the same path is given to FlatpakExports with more than one mode, the more permissive mode "wins" (regardless of order), so MODE_READ_WRITE will overwrite FAKE_MODE_TMPFS.

  • docs: Add a note about how to share usually-not-shared locations

Edited by Simon McVittie

Merge request reports