Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-U --update option has problems on windows if not given absolute path to youtube-dl.exe #6829

Closed
henrik-jensen opened this issue Sep 11, 2015 · 2 comments

Comments

@henrik-jensen
Copy link

@henrik-jensen henrik-jensen commented Sep 11, 2015

Clarification:
'youtube-dl.exe' is placed in a dir. on the path that I have write permissions to.
Let's say I'm in 'C:\SomeDir' and 'youtube-dl.exe' is in 'c:\users\MyProfile\bin' that is on the path.
If I then run:

C:\SomeDir> youtube-dl.exe -U

I get the 'ERROR: no write permissions on youtube-dl' message

Giving the full path on the other hand works fine:

C:\SomeDir> c:\users\MyProfile\bin\youtube-dl.exe -U

and changing directory to where 'youtube-dl.exe' is placed also works:

c:\SomeDir> cd c:\users\MyProfile\bin\
c:\users\MyProfile\bin> youtube-dl.exe -U

This happen with the version '2015.09.03'
I can't check it with latest version ('2015.09.09') as this just tells me that it's up-to-date so it never tries to write to disk.

--henrik

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 11, 2015

I think it's the same issue as #2718, could you confirm?

@henrik-jensen
Copy link
Author

@henrik-jensen henrik-jensen commented Sep 11, 2015

Yes, I can confirm. This issue, #6829, is a duplicate of #2718.
With the extra info that in addition to navigating to the folder of the exe, you can also mitigate the problem by using the full path of the executable. Maybe this info could help in the debugging.
Should I close this issue?

@dstftw dstftw closed this Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.