Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-565

SFTP can not delete symlink to a folder.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0
    • None
    • OS: x86_64 GNU/Linux (elementaryOS)
      Filesystem: ext4

    Description

      When trying to delete a symlink to a folder, it tries to remove it as a folder with channel.rmdir(relpath) because getType() indicates FileType.FOLDER.

      This results in a FileSystemException: Could not delete, Caused by: 2: No such file.

      Because it's not a folder, it's a symlink and sould be deleted with channel.rm(relpath).

      It may be related to VFS-179

      Attachments

        Activity

          People

            Unassigned Unassigned
            serpi90 Julián Maestri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: