Skip to content

Junctions can't be deleted through some of the normal means #551

@Elfy

Description

@Elfy

System information

Type Version/Name
Distribution Name Windows 10
Kernel Version 10.0.19045
Architecture x64
OpenZFS Version zfswin-2.3.1rc14-5-g03b0eb2c6-dirty

Describe the problem you're observing

Junction created on zfs can not be deleted via Explorer, rmdir or junction -d. All of the above works on ntfs.

fsutil reparsepoint delete works however.

I think this actually might be related to my issue with leftover mountpoint. Might even be related to mounting issues in general?

Describe how to reproduce the problem

>mkdir folder
>mklink /J junction folder
Junction created for junction <<===>> folder
>rmdir junction
Access is denied.

Just to clarify, I don't think it's an issue of permissions. Nothing I have tried changed the result. Also fsutil works with same permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions