-
Notifications
You must be signed in to change notification settings - Fork 2.1k
mv allows moving a directory into itself #13508
Copy link
Copy link
Closed
Labels
A:file-systemRelated to commands and core nushell behavior around the file systemRelated to commands and core nushell behavior around the file systemcategory:upstreamproblem with upstream dependencyproblem with upstream dependencydeprecated:duplicate(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issuestatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Milestone
Metadata
Metadata
Assignees
Labels
A:file-systemRelated to commands and core nushell behavior around the file systemRelated to commands and core nushell behavior around the file systemcategory:upstreamproblem with upstream dependencyproblem with upstream dependencydeprecated:duplicate(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issuestatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Describe the bug
The detection of
cannot move X to a subdirectory of itself, X/Yis imperfect, and it is sometime still possible to execute the move, resulting in the directory disappearing.How to reproduce
Expected behavior
Error message.
Configuration
(As obtained from
github:NixOS/nixpkgs/3fcada1050e3820241590679838954bacf7d38f8#nushell.)Additional context
This is not a duplicate of #2612, that's still sound and fixed..