10000 Get-ChildItem on Linux terminates abruptly when accessing directory fails with access denied or file not found · Issue #2856 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

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

Description

@PaulHigin
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.

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

    0