Allow for changing permissions on local host too depending on the stage
Changing EOL to Linux LF
Adds a recursive parameter and allows for more chmod possibilities such as +a