Adding permission check to sample.ini