Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH symlink replacement bug #7327

Closed
cyberduck opened this issue Jun 28, 2013 · 2 comments
Closed

SSH symlink replacement bug #7327

cyberduck opened this issue Jun 28, 2013 · 2 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

e6e16be created the issue

Hi!

First of all, thanks so much for Cyberduck, an amazing program that I'm using since 5 years now.
Today I found something that I consider like a bug. Let me explain:

Protocol: SFTP
Distant directory contained files and some symbolic links.

Action: I uploaded a file with the same name of a symlink and choose to replace expecting it would replace the symlink by the file I'm uploading.

Result: The symbolic link was followed and the file replaced the original file in the server, instead of the symbolic link pointing to it.

I don't know what is your statement on it, but it seems illogical to me that the symbolic link is followed in this situation. It leads to a potential accidental deletion of files. Fortunately, in my case I had a backup.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The sftp program from OpenSSH shows the same behaviour.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 0fb3548.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants