Bug 390040 - [QSaveFile] Kate part changes file permisions on save
Summary: [QSaveFile] Kate part changes file permisions on save
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 20:00 UTC by Edward Kigwana
Modified: 2018-06-22 21:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.