-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: eza output wrong child items in directory symbolic link on windows. #1025
Comments
Specifically, |
Hello, would you mind running |
Hi, I created a
These reported errors indicate that
As mentioned in that comment, PowerShell also allows the creation of symbolic links, but thx your reply |
Hey just added some debug infos to the program on the linked branch so that we get more infos, but it seems that the problem might come from path resolving or metadata resolving |
Hi, i clone the repo and checkout to branch
|
Okay so as I expected this looks like a rust std lib error, where it cannot find the file. |
The debug output neglects to print the Line 421 in 7e21ed9
My guess would be there's something interesting about that path. |
Ah I think I understand the issue. This is caused by the difference between So on Windows So to try to put it more clearly reading |
That may be right, when I created a |
Is there a known way to resolve this that you might know of ? |
I'm not familiar enough with eza's code base to say with any confidence. I'm not clear why it's trying to stat |
Oh okay I see, we will need some special case handling i guess. Thoughts @PThorpe92 @cafkafk @gierens ? |
Honestly I'm not sure I fully understand the issue, but one way would maybe be to create separate code for unix/windows targets that deal with this. Likely something a windows user would have to do. |
yes thats indeed what we need to have in order for those links to be handled |
Hi,
basically, I created a folder type symlink using
mklink
that comes with windows command prompt, and when I go to that symlink and useeza
,eza
prints the wrong subitems.Steps to reproduce:
md test1
echo test > test1\temp.txt
mklink /D test2 test1
cd test2
dir
to view the files in the folder.dir
eza -l
Screenshots:
dir
:eza
:Platform Information:
scoop
)cmd
thx.
The text was updated successfully, but these errors were encountered: