Fix the user and group permissions