Fix filerights.