On Thu, Sep 24, 2020 at 11:44:42AM +0200, Jan Stary wrote:
> This is current/amd64 after a sysupgrade and pkg_add -u.
> Firefox complains that it cannot store its own configuration
> and settings into HOME:
> 
> ** (firefox:19344): WARNING **: 11:38:24.795: Cannot set application as
> default for URI scheme (http): Can’t create user MIME configuration
> folder /home/hans/.config: No such file or directory
> 
> ** (firefox:19344): WARNING **: 11:38:24.798: Cannot set application as
> default for extension (htm): Can’t create user MIME configuration folder
> /home/hans/.local/share/mime/packages: Permission denied
> 
> The $HOME/.config directory does exist and is writable by the user.
> The $HOME/.local/share/ directory does exist and is writable by the user.
> 
> Is this because of the pledge/unveil restrictions?

yes, that's supposed to be handled by the unveil.main lines. I never
fully understood this part of the integration, but jcs@ might know
better. Use ktrace to check what paths are opened, and maybe try
adding/amending some of the lines.

Landry

Reply via email to