Julián Maestri created VFS-565:
----------------------------------
Summary: SFTP can not delete symlink to a folder.
Key: VFS-565
URL: https://issues.apache.org/jira/browse/VFS-565
Project: Commons VFS
Issue Type: Bug
Affects Versions: 2.0
Environment: OS: x86_64 GNU/Linux (elementaryOS)
Filesystem: ext4
Reporter: Julián Maestri
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|https://issues.apache.org/jira/browse/VFS-179]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)