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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...