2020-02-20 11:33 GMT-03:00, Renato A. Galvão <galva...@gmail.com>: > 2020-02-20 10:35 GMT-03:00, Greg Reagle <greg.rea...@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,