On 2025-03-09, Manuel Giraud <man...@ledu-giraud.fr> wrote:
> sylv...@saboua.me writes:
>
> [...]
>
>> Starting firefox-esr should create this directory, but it won't be
>> available
>> for downloads until it's restarted.
>>
>>
>> and default /etc/firefox-esr/unveil.main containing
>> ~/.mozilla rwc
>> ~/Downloads rwc
>>
>> and default /etc/firefox-esr/unveil.content containing
>> ~/.mozilla r
>> ~/Downloads r
>>
>> I cannot save downloads in ~/Downloads
>
> Did you restart firefox after it has created ~/Downloads?
>
>> Besides, I would like to access some of my local files, but can't
>> manage to find the right settings.
>
> Not on ESR, but it works for me with the following appended to
> /etc/firefox/unveil.content:
>
> /usr/local/share/doc r

Be aware that once you touch any of those /etc/firefox unveil/pledge files,
you have to then manually keep them in sync with any changes after updating
packages (diff against /usr/local/firefox/browser/defaults/preferences or
/usr/local/firefox-esr/...).

Same for chromium and friends (/usr/local/share/examples/chromium).

If you can rearrange things so you don't need to touch those files, things
will be easier.


-- 
Please keep replies on the mailing list.

Reply via email to