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
Permissions not preserved when editing remote file via sftp connection #7538
Comments
I can reproduce this but with the latest Snapshot (14063). Is this fixed in v 14063 ? |
Replying to [comment:3 michael vöhringer]:
On Windows? |
no, its OSX 10.9 |
Replying to [comment:5 michael vöhringer]:
I cannot reproduce the issue on OS X with build 14063 and later. |
Please post the transcript from the log drawer (⌘-L). |
How to reproduce:
-> on my system the owner changed from www-data to root and the permission to "-rw-r--r--" after saving the file
|
FYI: i can not reproduce this, if i only download/upload the file. |
Thanks for the transcript. We see one |
I can reproduce this only when setting Preferences → Uploads → Change permissions → to these permissions: and uncheck all checkboxes. With this setting no permissions are updated after the upload is complete. |
Can you find any error output in the |
Thanks for the screenshot. You will have to set Change permissions for Downloads otherwise the edited file will have the default mode |
Replying to [comment:12 dkocher]:
Actually expected because setting the timestamp explicitly for uploads is disabled by default. |
ok, the permissions are stable after i set Download->Change permissions, but the user of the online-file changed. I can reproduce this only if use the edit function within cyberduck. When download/upload via drag&drop the permission/user/group did not change online. Permission before editing the file:
Permission after saving the file in Sublime
|
Replying to [comment:19 michael vöhringer]:
Yes, this is expected because of the temporary rename feature enabled by default for edits. See hidden property
|
thank you very much, after setting "editor.upload.temporary false" the edit works as (I) expected. Now the behavior of V 4.3 is back. |
Still doesn't work with 4.4.3. "defaults write ch.sudo.cyberduck editor.upload.temporary false" helps to prevent the file-owner, but still changes the permissions from 0755 to 0644. |
When editing a remote file via an sftp connection, the permissions of the file are not preserved when uploading the file. They are always reset to rw-r--r--. This always happens, regardless of the settings in the Transfers preferences.
This behaviour does not happen in version 4.3.1.
Attachments
Screen Shot 2013-11-20 at 16.58.39.png
(95.7 KiB)The text was updated successfully, but these errors were encountered: