when creating a folder in a folder, the permissions should be the same as the file it is in by default.