set directory perms