On 7/11/22 15:25, Stuart Henderson wrote:
> On 2022-07-11, Björn Gohla <[email protected]> wrote:
>>
>> Brian Durant <[email protected]> writes:
>>
>>> I have a problem with both Firefox and Chromium being unable to access
>>> the file system using the "open" dialog. The dialog appears, but no
>>> files or directories appear regardless of path. Things function
>> [...]
>>
>> This sounds like an unveil(2) issue. Only white-listed paths are
>> accessible, they are configured in /etc/firefox/unveil.* .
>>
>> ~/Downloads should be enabled by default though.
> 
> only if present before the browser was started, also the file dialog boxes
> will often be blank and you need to either type a path by hand, or pick
> one of the predefined entries in the left-hand side; browsing the whole
> computer won't work with the default unveil restrictions
> 
> 

~/Downloads is indeed in /etc/firefox/unveil.main and
/etc/chromium/unveil.main. Interestingly, it doesn't appear that either
Thunderbird nor Midori have a similar unveil file. Interestingly (or
not) When running the following, Chromium doesn't appear at all:

$ doas locate unveil.main
/etc/firefox/unveil.main
/usr/local/lib/firefox/browser/defaults/preferences/unveil.main

Nor does it in:

$ doas locate unveil
/etc/firefox/unveil.content
/etc/firefox/unveil.gpu
/etc/firefox/unveil.main
/etc/firefox/unveil.rdd
/etc/firefox/unveil.socket
/usr/local/lib/firefox/browser/defaults/preferences/unveil.content
/usr/local/lib/firefox/browser/defaults/preferences/unveil.gpu
/usr/local/lib/firefox/browser/defaults/preferences/unveil.main
/usr/local/lib/firefox/browser/defaults/preferences/unveil.rdd
/usr/local/lib/firefox/browser/defaults/preferences/unveil.socket
/usr/share/man/man2/unveil.2
/usr/share/relink/kernel/GENERIC.MP/kern_unveil.o

Wondering if something else is at play here...

Reply via email to