Skip to content

Unable to Delete Broken Symlink #308

@gtripoli

Description

@gtripoli

Hello,

I have encountered a problem when trying to delete a broken symbolic link.
The symbolic link points to a nonexistent file, and when you try to delete it, the operation fails, saying that the file does not exist.

Steps to Reproduce:

  • Create a symlink pointing to a non-existent file.
  • Try to delete the symlink using the appropriate method, smbclient.unlink()
  • The operation fails.

Obviously, if the symlink is not broken then the unlink method works correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions