Updated the permission modes of the files.