Maintain the right permissions mode