correct the access mode from 0777 to 0644