wernight / docker-youtube-dl

Dockerized youtube-dl based on Alpine Linux.
https://hub.docker.com/r/wernight/youtube-dl/
Apache License 2.0
80 stars 35 forks source link

Create a .cache in / (=~) with 0777 mode as newer version youtube-dl require to write in ~/.cache #6

Closed gissehel closed 5 years ago

gissehel commented 5 years ago

I tried to use the tool on a youtube page, and it failed (while strangely other pages works) with a regexp error.

So I tried to build the image in order to have the lastest version (it appears the regexp problem is not on the latest version). But it failed because latest version seems to store informations in ~/.cache (which tries to store that in /.cache due to $HOME being /) which fails because when run as user, there is no right to create /.cache

This PR fixed that problem

wernight commented 5 years ago

Thank you for fixing this.