I have “installed” Sononym (well, just uinzipped a folder). I can run the application by double clicking the “sononym” executable file from the file manager – no privileges needed. However, if I try to run the same executable from the command line, I get an error (see below).
Can you help me understand why the difference, please?
In fact, all I want is a functional executable path to add to a .desktop file, so I don’t have to go to the subfolder every time I want to run this application.
Running the executable from the command line throws an error:
$ ./sononym
[29717:0519/172759.605233:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/icaria36/Music/Sononym/sononym-1.5.6/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
What I’ve Tried:
I haven’t tried to follow the command line error message because first I want to understand why the file runs from the file manager but not from the command line.
Set the correct permissions to the chrome-sandbox file:
sudo chown root /home/icaria36/Music/Sononym/sononym-1.5.6/chrome-sandbox
sudo chmod 4755 /home/icaria36/Music/Sononym/sononym-1.5.6/chrome-sandbox
Thank you very much, @1fallen – this resolves the actual problem. Now I can launch the app from the command line, and get a .desktop file that works properly.
I’m still curious about what made it work when the app was opened by double clicking from the file manager.
That makes two of us, It did not open for me on double click, and my experience showed a sandbox was involved, so permissions is always my first look.
I’m not a big fan of Electron either.