Skip to content

Commit e805496

Browse files
authored
Update docs/sandbox-permissions.rst
1 parent 9c66f73 commit e805496

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/sandbox-permissions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,14 +542,14 @@ Examples
542542

543543
--device=all
544544
--device-if=all:false
545-
--device-if=input:has-input-device
545+
--device=input
546546

547547
This allows older Flatpak versions which do not understand the
548548
``input`` device permission to function by having the broader
549549
``all`` access, while newer Flatpak versions which understand the
550550
conditional system will deny ``all`` due to
551551
``--device-if=all:false`` and allow only ``input`` due to
552-
``--device-if=input:has-input-device``.
552+
``--device=input``.
553553

554554
To explicitly deny a permission that might be granted through runtime
555555
metadata or overrides ``--nosocket=NAME, --unshare=NAME`` etc. can be

0 commit comments

Comments
 (0)