fix some files' permissions