[Cyberduck-trac] [Cyberduck] #7538: Permissions not preserved when editing remote file via sftp connection
Cyberduck
trac at trac.cyberduck.ch
Wed Nov 20 16:33:10 UTC 2013
#7538: Permissions not preserved when editing remote file via sftp connection
---------------------------+---------------------------
Reporter: majashdown | Owner: dkocher
Type: defect | Status: closed
Priority: normal | Milestone: 4.4.2
Component: core | Version: 4.4
Severity: normal | Resolution: worksforme
Keywords: | Architecture: Intel
Platform: Mac OS X 10.9 |
---------------------------+---------------------------
Changes (by dkocher):
* status: reopened => closed
* resolution: => worksforme
Comment:
Replying to [comment:19 michael vöhringer]:
> 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:
> {{{
> -rw------- 1 www-data root 41 Nov 20 17:20 test.txt
> }}}
>
> Permission after saving the file in Sublime
> {{{
> -rw------- 1 root root 47 Nov 20 17:23 test.txt
> }}}
Yes, this is expected because of the temporary rename feature enabled by
default for edits. See
[https://trac.cyberduck.ch/wiki/help/en/howto/preferences#Hiddenconfigurationoptions
hidden] property `editor.upload.temporary` to disable the use of temporary
name on upload when uploading changes from the editor on save.
{{{
defaults write ch.sudo.cyberduck editor.upload.temporary false
}}}
--
Ticket URL: <https://trac.cyberduck.ch/ticket/7538#comment:20>
Cyberduck <http://cyberduck.ch>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list