recommit the file to get the permission right