Fix file_manager crash bug when permission denied