Please raise a JIRA issue.  This seems to have been overlooked.

Le jeu. 2 mars 2023 à 11:26, Simon IJskes - QCG <si...@qcg.nl> a écrit :

> Hi,
>
> i'm using the SftpFileSystemProvider to implement a simple rsync.
>
> When i use Files.delete( Path ) on a symbolic link there are some
> problems i havent managed to fix.
>
> When the symlink points to a non-existant file, i get an exception while
> reading its attributes.
>
> When the symlink points to a directory, i get an exception in the order
> of file not found.
>
> I've done some tracing and debugging, and it looks like the client does
> follow the symlink, this should not be the case,
>
> From: Package java.nio.file, Symbolic Links
>
> "For the most part, symbolic links are transparent to applications and
> operations on symbolic links are automatically redirected to the target
> of the link. Exceptions to this are when a symbolic link is deleted or
> renamed/moved in which case the link is deleted or removed rather than
> the target of the link."
>
> Is this a known bug or design choice, or does this merit a more complete
> bugreport?
>
> Gr. Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@mina.apache.org
> For additional commands, e-mail: users-h...@mina.apache.org
>
>

-- 
------------------------
Guillaume Nodet

Reply via email to