Open SiqingYu opened 4 years ago
Same problem here on Debian testing (same Nativefier version), but as stated by the error message, the following commands fixed it for me :
$ sudo chown root chrome-sandbox
$ sudo chmod 4755 chrome-sandbox
Are you sure you have chmod correctly the file?
Rather than setting the setuid bit on chrome-sandbox (which would give the binary root privileges), it is probably safer to enable the option of running unprivileged namespaces.
sysctl -w kernel.unprivileged_userns_clone=1
or to set it permanently
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
References: https://www.reddit.com/r/linux/comments/dvb43s/til_electron_requires_setuid_root_to_operate/ https://unix.stackexchange.com/questions/303213/how-to-enable-user-namespaces-in-the-kernel-for-unprivileged-unshare
Description
Steps to reproduce issue
Nativefying a public website
ticktick.com
:Executing the generated binary throws out an error:
I tried
chmod
andchown
tochrome-sandbox
according to the error messages; but it didn't work either.Running with root throws out another error:
With
--no-sandbox
:Details
v7.7.0
v10.15.2
andv12.10.0
Debian Buster