Corrected permissions for new directories.

Used the same directory permissions as Jenkins does as others suggested.