Fix permissions for teacher