54

I'm running Chromium like so : chromium --no-sandbox

I'm doing this because I'm running Debian Squeeze on an OpenVZ VM Container and it's the only way I can get it to work.

Though I keep reading this is terrible. But I want to know why exactly. Can someone please explain it to me?

Does someone need to hack into your computer to do damage? Or does the vulnerability come from a file on the web like a JavaScript file?

What if I locked browsing down to only a handful of "trusted" sites? (Gmail, stackexchange (ofcourse), and facebook)

  • 8
    Long time since I've seen facebook and trusted in same sentence ;) Anyheuw; does this help? Or the more detailed devel doc. Google themselves recommend using another browser then using Chrome without sandbox. Tried opera? – Runium Mar 22 '13 at 19:46
  • Wow. It does help a lot. I'm using Iceweasel just fine but I want my bookmarks that I've syncd in chrome. – capdragon Mar 22 '13 at 20:08
  • 1
    I suppose I should use xmarks then. – capdragon Mar 22 '13 at 20:20
  • @Sukminder Please enter your comment as an answer so I can give you credit. – capdragon Mar 22 '13 at 20:21
  • Current sandbox docs: chromium.googlesource.com/chromium/src/+/master/docs/design/… – nobar Sep 26 at 18:46
16

I was not sure I could post it as an answer as I did not specifically address "where vulnerability comes from" - and mere refs then own words. But anyhow –

Hopefully this shed some light on the topic of sandbox:

And as stated, Google themselves recommend using another browser than using Chrome without sandbox. And then obviously understood as if one can fix it then that would be preferred ;)

  • That's okay. those references give me all the information I need to know. – capdragon Mar 24 '13 at 19:50
  • 2
    i cant read comics because they annoy me so much, tldr? – meffect Mar 12 '17 at 7:11
  • 2
    tl;dr: the sandbox removes unnecessary privileges from the processes that don't need them in Chrome, for security purposes. Disabling the sandbox makes your PC more vulnerable to exploits via webpages, so Google don't recommend it – Steve Apr 10 at 7:32
-1

For 64 bit Linux, download the zip file at http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html

Extract the file - you will get a folder called chromium-linux

Move the folder to wherever you want - I move it to my /home folder. Navigate to that folder and open a terminal there (the previous two steps may be reversed).

Run these four commands individually:

sudo mv chrome_sandbox chrome-sandbox
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox
./chrome-wrapper

When I do that, I am good to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.