* Appropriately set the mode of creating file and mkdir