Closed advornic closed 9 years ago
I wonder why I didn't run into this during testing. I guess it wouldn't be tough to chmod the files after download.
Not sure if this is a local preference, but when I download the Packer zip and and extract it the files are executable by default. Regardless, I added a bit of code to set the files to be executable.
for file in os.listdir(packerDir):
file = os.path.join(packerDir, file)
os.chmod(file, 0o777)
This seems to be because:
(note file is not executable)
Workaround is to manually do:
and then execute the command again.