fixing a mistake that makes the sites directory read-only