Fix permissions problem in editor