Fixed files and directories permission.