I am using Kate 16.12.2. When I use "Save copy" function in File menu, it saves the document with 600 permission and applications like Apache web server cannot read it. The original file's permission is 644. The expected behavior should be using same file permission to make a copy. If the original file, most likely, uses 644, the copied file should also use 644.
Git commit f34b10f77be12c748afaf020581a678b7293525e by Christoph Cullmann. Committed on 25/07/2017 at 12:58. Pushed by cullmann into branch 'master'. copy permissions from original file on save copy M +11 -5 src/document/katedocument.cpp https://commits.kde.org/ktexteditor/f34b10f77be12c748afaf020581a678b7293525e