Fixing file rights.