for mkdir, does it need to check parent dir's permission?