Corrected permissions for new directories.

The permission was specified in decimal.  I think 0777 is OK here since any slave should have proper umask set and the directory contents are also not so confidential.