Fix #615: Insufficient privileges creating Sample matrix