Re: [dev] [surf] can't follow a link for download

From: Renato A. Galvão <galvaora_AT_gmail.com>
Date: Thu, 20 Feb 2020 14:05:01 -0300

2020-02-20 11:33 GMT-03:00, Renato A. Galvão <galvaora_AT_gmail.com>:
> 2020-02-20 10:35 GMT-03:00, Greg Reagle <greg.reagle_AT_umbc.edu>:
>> On Thu, Feb 20, 2020, at 08:26, Renato A. Galvão wrote:
>>> I use the packaged version buster (stable) of surf in Debian.
>>>
>>> While trying to make any download I'm receiving this:
>>>
>>> surf: execvp x-terminal-emulator failed: Permission denied
>>
>> Run the command x-terminal-emulator from a shell prompt. What happens?
>>
>> Also, try these commands:
>> ls -l $(which x-terminal-emulator)
>> ls -l /etc/alternatives/x-terminal-emulator
>>
>>
>
> It opens st, which is my default terminal emulator.
>
> ls -l $(which x-terminal-emulator)
> lrwxrwxrwx 1 root root 37 jun 17 2016 /usr/bin/x-terminal-emulator ->
> /etc/alternatives/x-terminal-emulator
>
> ls -l /etc/alternatives/x-terminal-emulator
> lrwxrwxrwx 1 root root 11 jul 14 2019
> /etc/alternatives/x-terminal-emulator -> /usr/bin/st
>

There is an apparmor file,

/etc/apparmor.d/usr.bin.surf

where the following directives is found:

  # for downloading files
  /dev/ptmx rw,
  /dev/pts/* rw,
  /usr/bin/stterm ix,
  # unconfined because it is called in (and downloading to) the cwd
  /usr/bin/curl Ux,
Received on Thu Feb 20 2020 - 18:05:01 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 20 2020 - 18:12:08 CET