You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I try to execute it with sudo - it fails with error "command not found":
sudo $APPDIR/usr/bin/head -n1 /etc/os-release
[sudo] пароль для pavel:
sudo: /tmp/.mount_bash-4mDX6hg/usr/bin/head: команда не найдена
LC_ALL=C sudo $APPDIR/usr/bin/head -n1 /etc/os-release
[sudo] password for pavel:
sudo: /tmp/.mount_bash-4mDX6hg/usr/bin/head: command not found
$ LC_ALL=C $APPDIR/usr/bin/head -n1 /etc/sudoers
/tmp/.mount_bash-582FuSk/usr/bin/head: cannot open '/etc/sudoers' for reading: Permission denied
$ LC_ALL=C sudo $APPDIR/usr/bin/head -n1 /etc/sudoers
[sudo] password for pavel:
sudo: /tmp/.mount_bash-582FuSk/usr/bin/head: command not found
$ stat -c '%A %a %n' /etc/sudoers
-r--r----- 440 /etc/sudoers
The text was updated successfully, but these errors were encountered:
spvkgn
changed the title
Can't execute binaries inside the AppImage with sudo - "command not found"
Can't execute binaries inside AppImage with sudo - "command not found"
Apr 28, 2024
spvkgn
changed the title
Can't execute binaries inside AppImage with sudo - "command not found"
Can't execute binaries with sudo inside AppImage - "command not found"
Apr 28, 2024
Sample
AppImageBuilder.yml
:The AppImage is successfully built:
Execute any binary inside AppImage:
But when I try to execute it with
sudo
- it fails with error "command not found":The text was updated successfully, but these errors were encountered: