Bug 218099

Summary: Execute permissions are lost when overwriting file over SFTP
Product: [Applications] kate Reporter: Maarten ter Huurne <maarten>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Maarten ter Huurne 2009-12-10 12:08:35 UTC
Version:           3.3.3 (using KDE 4.3.3)
OS:                Linux
Installed from:    openSUSE RPMs

I opened a file using an sftp:// URL. This file is a Python script with execute permissions set. When I saved the file, the contents were updated correctly, but the execute permissions were removed. I would expect the execute permissions to be preserved when a file is saved.

When I copy a script using Konqueror with an sftp:// URL, the execute permissions are preserved. So probably this problem originates in Kate rather than in the SFTP KIO slave.
Comment 1 Matthew Woehlke 2010-01-13 21:14:45 UTC
Merging with bug 217342.

Also, you mentioned: "When I copy a script using Konqueror with an sftp:// URL, the execute permissions are preserved". Do you mean sftp->local or local->sftp (or sftp->sftp)? (Please reply to bug 217342 along with a brief summary of the observation; thanks.)

*** This bug has been marked as a duplicate of bug 217342 ***