indexer: Handle permission errors