Fixed permissions error with editing locations.