Fix tstat sample permissions