summary refs log tree commit diff
diff options
context:
space:
mode:
authorWassimAttar <wassim.attar@free.fr>2015-05-24 10:37:05 +0200
committerWassimAttar <wassim.attar@free.fr>2015-05-24 10:37:05 +0200
commit1807ae22dd93646ea4d7ba4bd28087bf1ef4857c (patch)
treeaa29d523cbb0f9b28a1967608971db9bfef66ebb
parent71646e465348b25962a15f9a567f134514bde30a (diff)
downloadyoutube-dl-1807ae22dd93646ea4d7ba4bd28087bf1ef4857c.tar.gz
youtube-dl-1807ae22dd93646ea4d7ba4bd28087bf1ef4857c.tar.xz
youtube-dl-1807ae22dd93646ea4d7ba4bd28087bf1ef4857c.zip
chmod error
After installing youtube-dl with this method
    sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
    sudo chmod a+xr /usr/local/bin/youtube-dl
When i try to use it, i get this error
    python: can't open file '/usr/local/bin/youtube-dl': [Errno 13] Permission denied

The correct chmod is a+xr
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3d9436456..a29cccb3f 100644
--- a/README.md
+++ b/README.md
@@ -17,12 +17,12 @@ youtube-dl - download videos from youtube.com or other video platforms
 To install it right away for all UNIX users (Linux, OS X, etc.), type:
 
     sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
-    sudo chmod a+x /usr/local/bin/youtube-dl
+    sudo chmod a+xr /usr/local/bin/youtube-dl
 
 If you do not have curl, you can alternatively use a recent wget:
 
     sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
-    sudo chmod a+x /usr/local/bin/youtube-dl
+    sudo chmod a+xr /usr/local/bin/youtube-dl
 
 Windows users can [download a .exe file](https://yt-dl.org/latest/youtube-dl.exe) and place it in their home directory or any other location on their [PATH](http://en.wikipedia.org/wiki/PATH_%28variable%29).