Skip to content

Incorrect handling of links #25

Description

@Baptouuuu

In Internal\Capabilities\Files\AmbientAuthority the links are not correctly handled. In most methods the link property of a path is verified after if it's a directory.

The problem is that a link can represent a directory, thus the link is not properly identified.

In the remove method there's no check if the path is a link or not. If the path is a link pointing to a directory, this results in the method to remove all the content inside the target directory. Instead it should delete the link itself.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions