Skip to content

Commit

Permalink
docs(troubleshooting): Update docs about copying file for setuid sand…
Browse files Browse the repository at this point in the history
…box (#3608)

Very small change in light of operational experience while getting it running on Centos in Jenkins pipeline.

Without the `-p`, the permissions set in the `chmod` before this command are not carried over chrome cannot start.
  • Loading branch information
WillGibson authored and aslushnikov committed Dec 5, 2018
1 parent 45c4477 commit 68afb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/troubleshooting.md
Expand Up @@ -123,7 +123,7 @@ cd <project-dir-path>/node_modules/puppeteer/.local-chromium/linux-<revision>/ch
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
# copy sandbox executable to a shared location
sudo cp chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
sudo cp -p chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
# export CHROME_DEVEL_SANDBOX env variable
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
```
Expand Down

0 comments on commit 68afb3c

Please sign in to comment.