Hi Dmitry,

On Tue, Jul 23, 2019 at 03:08:17PM +0000, Dmitry Bogatov wrote:
> $ env -i HOME=/tmp DISPLAY=:0 /usr/bin/surf
> Could not access directory: /tmp/.surf
> 
> I thought it was supposed to get created.
> 
> Okay, if I create it myself:
> 
> $ mkdir -p /tmp/.surf
> $ env -i HOME=/tmp DISPLAY=:0 /usr/bin/surf
> Could not open file: /tmp/.surf/cookies.txt

This is because AppArmor is preventing access to those
files/directories.
Under normal circumstances it would be abnormal behavior if a browser
creates/reads files in /tmp.

If your use-case requires access to those files, please
extend the AppArmor profile in /etc/apparmor.d/local/usr.bin.surf .

Kind regards,
  Reiner

Attachment: signature.asc
Description: PGP signature

Reply via email to