On 2019-12-06, dmitry.sensei <[email protected]> wrote: > Firefox and Chromium browser, in the file selection window for upload, > does not show the contents of directories other than the Downloads > directory > > > OpenBSD 6.6-current > OpenBSD 6.6 GENERIC.MP#509 amd64 > > openbox-3.6.1p7 small, fast & usable window manager > firefox-71.0 Mozilla web browser > chromium-78.0.3904.106 Chromium browser > gtk+2-2.24.32p8 multi-platform graphical toolkit > gtk+3-3.24.13 multi-platform graphical toolkit > gtk+4-3.96.0p6 multi-platform graphical toolkit >
This is expected. Chromium has been using unveil(2) to restrict file access for some time, and this has recently come to Firefox in -current. This prevents the browser from being able to access sensitive files unless given access (in a root-controlled file). See https://marc.info/?l=openbsd-ports-cvs&m=157539245010077&w=2 and /usr/local/share/doc/pkg-readmes/firefox for more information about how this affects Firefox.

