aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-08-04 14:02:59 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-08-04 14:02:59 +0530
commit003403f0fb34ca44d1ccdef6b5ee254bb6ae4150 (patch)
tree6ab47c2d91b98a281cb6bd437688c5794f9e9f55
parentd55d0131eeeb1b0d780c7070c8c4a3e9035e5313 (diff)
install-on-debian.sh: Fix permissions on chromedriver
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--README.rst2
-rwxr-xr-xinstall-on-debian.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index caefe21..288e275 100644
--- a/README.rst
+++ b/README.rst
@@ -24,7 +24,7 @@ Installation
============
Refer and run
If you are on Debian or Ubuntu please run
-./install-on-debian.sh
+sudo ./install-on-debian.sh
Basic Usage
===========
diff --git a/install-on-debian.sh b/install-on-debian.sh
index 8ecb6c1..cc1a2fa 100755
--- a/install-on-debian.sh
+++ b/install-on-debian.sh
@@ -12,6 +12,7 @@ install_chromedriver_x86_64 () {
wget http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo cp chromedriver /usr/bin/
+ sudo chmod 777 /usr/bin/chromedriver
exit 0
}
@@ -19,6 +20,7 @@ install_chromedriver_x86 () {
wget http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux32.zip
unzip chromedriver_linux32.zip
sudo cp chromedriver /usr/bin/
+ sudo chmod 777 /usr/bin/chromedriver
exit 0
}