Added different permissions values for files and directories