Get-ChildItem doesn't treat directory symlinks as directories on Unix #3723
Labels
Resolution-Duplicate
The issue is a duplicate.
WG-Engine-Providers
built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Note: Applies to Linux and macOS, not Windows.
In most contexts, a symlink to a directory should be treated as a directory.
Get-ChildItem
on Unix platform currently treats directory symlinks as files, and therefore doesn't show their contents.Steps to reproduce (run on a Unix platform)
Expected behavior
A listing of the contents of directory
/tmp
Actual behavior
Something like the following is output; i.e., information about the symlink itself, not its target's contents:
Environment data
The text was updated successfully, but these errors were encountered: