<div dir="ltr"><div dir="ltr">On Thu, Aug 31, 2023 at 1:55 PM Robert Heller <<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">What is wrong with this:<br>
<br>
sauron% chromium-browser <br>
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help none bind,ro 0 0): cannot open directory "/var/lib/snapd": permission denied<br>
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/libreoffice/help /usr/share/libreoffice/help none bind,ro 0 0): cannot open directory "/var/lib/snapd": permission denied<br>
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib/snapd": permission denied<br>
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 534: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!<br>
<br>
How do I fix it?<br></blockquote><div><br></div><div>I know Jeffrey Walton suggested a work-around (use a non-snap version), HOWEVER to be clear to those who didn't catch it -- those errors occur when you try to launch chromium with root privileges. The snap sandboxing doesn't allow the application to run with elevated privileges. When you launch it with ordinary user privileges, the chromium-browser application should run fine.</div><div><br></div><div>A few months ago, in a thread starting April 20th titled "non-snap version of FF under Ubuntu 22.04?" several folks indicated they want to run the web browser as root, and responders in that thread described several ways to accomplish the tasks without it. SO maybe you would get additional helpful suggestions if you described why you want to run it as root.</div></div></div>