updated permissions of files