Fix required permissions