Added chmod to snapshot directory