[Patch] let KSaveFile honor the umask

Thorsten Zachmann t.zachmann at zagge.de
Wed Mar 26 11:20:37 GMT 2008

Hello all,

KSaveFile does not honor the umask for newly created files. Looks like this 
behaviour was introduces during the port to QTemporaryFile which by default 
creates file with permissions 0600. This is good for temporary files but for 
a file saved by an application it is not.
The attached patch changes the behaviour so that the KSaveFile does honor the 
umask for files that are newly created.

Ok to commit?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksavefile.diff
Type: text/x-diff
Size: 593 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080326/86558e57/attachment.diff>

More information about the kde-core-devel mailing list