Greetings,
during my tests on a fresh Whonix Workstation, if the user types on the terminal: sudo git
it receives the following error: uwtwrapper uwt wrapper ERROR: /usr/bin/git.anondist-orig does not exist.
By using find command, exists only the following file: /usr/bin/git.anondist
Is it needed to make a symbolic link of this file called /usr/bin/git.anondist-orig? Or this last file is intended for different usage?
If I make the symbolic link, after executing sudo git, I receive the following error: uwtwrapper uwt wrapper ERROR: More than uwtwrapper_counter 10 nested executions (uwtwrapper_max: 10).
Hello @Patrick, I tried to change the /usr/lib/uwtwrapper file with the code shown in your link above, but when I try to re-type on terminal sudo git or also sudo apt-get install <package-name>, I get the following error:
user@host:~$ sudo apt-get install rdesktop
[sudo] password for user:
/usr/bin/apt-get: line 14: /usr/lib/uwtwrapper: Permission denied
/usr/bin/apt-get: line 14: exec: /usr/lib/uwtwrapper: cannot execute: Permission denied
The content of /usr/bin/apt-get is:
#!/bin/bash
## Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
#### meta start
#### project Whonix
#### category networking
#### description
## uwt wrapped application
#### meta end
export uwtwrapper_parent="${BASH_SOURCE[0]}"
exec /usr/lib/uwtwrapper "$@"
The mentionet line 14 is the last one of this file above. So, I get permission denied despite I used sudo.