WCM-127 Fix permissions issue