Skip to content
Snippets Groups Projects
Commit 9a449e00 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #204 from dennybritz/dev

When a file is downloaded, make it executable.
parents 098ae55d ca64d16a
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,8 @@ object Utils extends Logging {
logInfo("Untarring " + filename)
Utils.execute(Seq("tar", "-xf", filename), targetDir)
}
// Make the file executable - That's necessary for scripts
FileUtil.chmod(filename, "a+x")
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment