You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because using recurse=false would only make sense when linking directories, I would expect ~/mydir to be a directory.
Actual behavior
The created symlink is a file symlink instead of a dir symlink, making it impossible to see the content of the linked directory. The created symlink should have the mode l-r-- but it's mode is la--- instead, when inspecting it with ls. Changing the Rust function linked above when not linking recursively should be enough to fix this issue.
The text was updated successfully, but these errors were encountered:
I cannot reproduce this - current code for me creates a symlink with mode lrwxrwxrwx when running ls -Ahl on git-bash, and commands like cd mydir and ls mydir work as I'd expect.
I could implement a fix that checks if the source file is a dir and uses the appropriate function but I wouldn't be able to verify that it works.
Environment
Description
When using the option
recurse=false
on a symbolic link, dotter creates a file symlink instead of linking the directory.Reproduction
Create any symbolic link with
recurse=false
. Example:Expected behavior
Because using
recurse=false
would only make sense when linking directories, I would expect ~/mydir to be a directory.Actual behavior
The created symlink is a file symlink instead of a dir symlink, making it impossible to see the content of the linked directory. The created symlink should have the mode
l-r--
but it's mode isla---
instead, when inspecting it with ls. Changing the Rust function linked above when not linking recursively should be enough to fix this issue.The text was updated successfully, but these errors were encountered: