Bug 390040

Summary: [QSaveFile] Kate part changes file permisions on save
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Edward Kigwana <ekigwana>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Edward Kigwana 2018-02-07 20:00:51 UTC
Using Katep Part v 5.43.0

I touch a file and chmod it 644. ls -al shows correct permissions. Edit the file with nano and save it. ls -al shows correct permissions. Edit file with kwrite or kate or kdevelop, save file. ls -al show 744 permissions. I touched a file and gave it 0044 permissions. Saving the file with kwrite changes the permissions to 0755. Needless to say this is quite irritating since I have to chmod all files whilst using kdevelop.

Note umask is 0027.
Comment 1 Edward Kigwana 2018-02-07 20:02:38 UTC
Cannot edit comment but should be Saving the file with kwrite changes the permissions to 0744.

it's doing +o,rwx
Comment 2 Edward Kigwana 2018-02-08 15:30:39 UTC
running qt 5.10.0
Comment 3 Edward Kigwana 2018-06-22 21:35:00 UTC
I tested kate and kwrite and it looks like they have resolved the issue. I am leaving this open until kdevelop fixes the issue.
Comment 4 Edward Kigwana 2018-06-22 21:56:32 UTC
File bug with kdevelop.