Skip to content

Commit

Permalink
Mention that host, host-os, host-etc doesn't allow subpaths
Browse files Browse the repository at this point in the history
Also document host-os

Closes #218
  • Loading branch information
bbhtt committed Mar 26, 2024
1 parent 416628e commit 1362c45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/sandbox-permissions-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ be added to ``--filesystem=``:
==================== ======================================================== ===================================================
``host`` Access all files [#f3]_
``host-etc`` Access all files in /etc
``host-os`` Access to host operating system's libraries, executables Mounted in ``/run/host`` inside the sandbox
``home`` Access the home directory
``/some/dir`` Access an arbitrary path [#f4]_ [#f5]_
``~/some/dir`` Access an arbitrary path relative to the home directory
Expand All @@ -54,9 +55,9 @@ be added to ``--filesystem=``:
``xdg-run/path`` Access subdirectories of the XDG runtime directory ``$XDG_RUNTIME_DIR/path`` (``/run/user/$UID/path``)
==================== ======================================================== ===================================================

Paths can be added to all the above filesystem options. For example,
``--filesystem=xdg-documents/path``. The following permission options can
also be added:
Excpet ``host, host-etc, host-os`` paths can be added to all the above
filesystem options. For example, ``--filesystem=xdg-documents/path``.
The following permission options can also be added:

- ``:ro`` - read-only access
- ``:rw`` - read/write access (this is the default)
Expand Down

0 comments on commit 1362c45

Please sign in to comment.