fix permission issue in file list command