On 28-06-2019 10:00:04 +0100, Michael Fothergill wrote:
> I ran the command you suggested (should it be the chown command for a group -
> would the chgrp command be help here?):
> 
> root@fart:/home/mikef/gentoo# chown root:
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> root@fart:/home/mikef/gentoo# 
> 
> It still gives the same error:
> 
> mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
> [2223:2223:0628/084737.606858: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/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by root
> and has mode 4755.

This seems pretty clear.  Run

ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox

That should show the file is owned by root, and that it has rwxr-xr-x
with an s somewhere.

Fabian

> 
> I added an extra line into the package.use file when I was trying to get xorg 
> to
> work as non root:
> 
> mikef@fart:~/gentoo/etc/portage$ more package.use
> x11-base/xorg-server -suid
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=dev-libs/libxml2-2.9.9-r1 icu
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=media-libs/harfbuzz-2.5.1 icu
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=sys-libs/zlib-1.2.11-r2 minizip
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=net-libs/nodejs-11.14.0 inspector
> # required by x11-misc/xdg-utils-1.1.3-r1::gentoo
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=app-text/xmlto-0.0.28-r1 text
> # required by x11-libs/gtk+-3.24.8::gentoo
> # required by x11-themes/adwaita-icon-theme-3.30.1::gentoo
> # required by x11-libs/gtk+-2.24.32-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.28::gentoo
> >=x11-libs/cairo-1.16.0-r3 X
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-10.15.3 inspector
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-8.16.0 inspector
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-8.12.0 inspector
> mikef@fart:~/gentoo/etc/portage$ 
> 
> It is affecting the suid function....
> 
> I commented it out but it did not help.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

Attachment: signature.asc
Description: PGP signature

Reply via email to