Hi

I'm proposing a pkg/README file for iridium and chromium about unveil.
The following is the iridium README, chromium being the same with
s/iridium/chromium

$OpenBSD: README,v 1.2 2018/09/04 12:46:25 espie Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Unveil
=================
Iridium has been patched to use pledge and unveil.
So, iridium can only display paths allowed in /etc/iridium/, this
includes the following paths:

        ~/Documents     ~/Downloads     ~/Music
        ~/Pictures      ~/Videos        /tmp

If you need to upload a file, you need to make the file available in one of
those folders.

When iridium file browser is showing up, it may be displaying an unauthorized
folder which will appear empty, which mean it is not possible to browse to some
other location. One can use the keyboard shortcut Ctrl+L and type a path in the
upper address bar to reach a whitelisted path.

Unveil can be disabled with the parameter --disable-unveil

Reply via email to