SUID of sandbox helper binary is wrong on linux #1244
Labels
Build ◦ Linux
Specific to Linux
› Dist
Installers and other forms of software distribution
Type ◦ Bug
Something isn't working
Milestone
Describe the bug
When installing the desktop client on debian the file
/opt/keeweb-desktop/chrome-sandbox
has wrong permissions on the filesystem.This issue isn't visible in the UI, as the application doesn't start and no error is shown.
When using the CLI to start KeeWeb via the
KeeWeb
command you get an error (view below).I found that bug after upgrading from
1.8.2
. Even a fresh install doesn't fix it.To Reproduce
KeeWeb-1.9.2.linux.x64.deb
sudo dpkg -i KeeWeb-1.9.2.linux.x64.deb
KeeWeb
Expected behavior
The application just works and starts after start without any further setup.
Environment
Debian Stretch:
4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 GNU/Linux
Logs
Workaround
The file permissions are after the install:
-rwxr-xr-x 1 root root 4.9M Aug 22 22:31 /opt/keeweb-desktop/chrome-sandbox
To fix it, you should use the following command:
sudo chmod 4755 /opt/keeweb-desktop/chrome-sandbox
The result is:
-rwsr-xr-x 1 root root 4.9M Aug 22 22:31 /opt/keeweb-desktop/chrome-sandbox
The application can start now.
The text was updated successfully, but these errors were encountered: