Skip to content

Get-ChildItem on Linux terminates abruptly when accessing directory fails with access denied or file not found #2856

Description

PS > /home/<user>/ dir

dir : Access to path '/home/<user>/.gvfs' is denied

PS >

Result:

Enumeration of paths and files terminates on access denied error

Expected

Get-ChildItem should skip inaccessible paths (with error) and continue enumerating files and paths that are accessible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OS-LinuxResolution-FixedThe issue is fixed.WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions