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

Interrupted SFTP upload leaves file with 000 permissions, making it unresumable #6046

Closed
cyberduck opened this issue Jul 2, 2011 · 3 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

William+G created the issue

I'm uploading a directory using SFTP when the connection is suddenly closed. Logging in to the server I see a partially uploaded file with permission 000. Resuming the upload fails for this particular file with a permission denied error (probably because Cyberduck is trying to append to a read-only file).

Steps to reproduce:

  1. Open a terminal to the upload destination
  2. Upload a file
  3. While uploading do a ls -l, it should display permission 000 for the file currently being uploaded.
  4. Pull the Ethernet cable. After a while it displays "Upload failed. Socket closed."
  5. Plug the Ethernet cable back in.
  6. Try to resume the upload. It will fail.

Client version: Cyberduck 4.0.2 (8601) on Windows
Server version: Debian 6.0, ssh package version 1:5.5p1-6

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Have you checked Preferences → Transfers → Permissions → Uploads → Change Permissions?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I can replicate the issue.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 0a81c80.

@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