The Scott Trust and Guardian Media Group agreed the sale on Friday, despite pushback from staff.