Must be octal
Cast value back to octal.

The value stored in YAML 0777 will be converted to decimal which is 511,
so we need to convert it back.
Remove comment.
mkdir does not correctly set chmod