Saturday, August 2, 2014

windows 10 - wget not allowing access to file


When I use wget to download a batch file from dropbox, then try to run it I get an error that says I do not have permissions to use this file. So far this only applies to batch files, I can wget and read/write all other files just fine.


edit: Using Windows 10 Home Premium x64


Answer



You need to set execute permission on file.


chmod +x \path\to\file

No comments:

Post a Comment