[Cyberduck-trac] [Cyberduck] #7538: Permissions not preserved when editing remote file via sftp connection

Cyberduck trac at trac.cyberduck.ch
Wed Nov 20 15:20:17 UTC 2013


#7538: Permissions not preserved when editing remote file via sftp connection
---------------------------+-------------------------
 Reporter:  majashdown     |         Owner:  dkocher
     Type:  defect         |        Status:  reopened
 Priority:  normal         |     Milestone:  4.4.2
Component:  core           |       Version:  4.4
 Severity:  normal         |    Resolution:
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.9  |
---------------------------+-------------------------

Comment (by michael vöhringer):

 How to reproduce:

  * Open sftp connection to remote host (linux)
  * create a file test.txt
  * change the owner of the file to something different (for example www-
 data if you are connected as root via sftp)
  * Open the file with the "editor"-icon in cyberduck
  * save the file.

 -> on my system the owner changed from www-data to root  and the
 permission to "-rw-r--r--"  after saving the file

 {{{
 SSH_FXP_READDIR
 SSH_FXP_STATUS
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_READ
 SSH_FXP_DATA
 SSH_FXP_READ
 SSH_FXP_STATUS
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_WRITE
 SSH_FXP_STATUS
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_REMOVE
 SSH_FXP_STATUS
 SSH_FXP_RENAME
 SSH_FXP_STATUS
 SSH_FXP_SETSTAT
 SSH_FXP_STATUS
 }}}

-- 
Ticket URL: <https://trac.cyberduck.ch/ticket/7538#comment:10>
Cyberduck <http://cyberduck.ch>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list