found out posix does not like making new directories with different permissions than the parent