https://bugs.kde.org/show_bug.cgi?id=359581

Wolfgang Bauer <wba...@tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1
             Status|RESOLVED                    |REOPENED

--- Comment #7 from Wolfgang Bauer <wba...@tmo.at> ---
Though the copying of the template file from the embedded resource is fixed
now, the permissions of the newly created file are still wrong unfortunately,
the file gets rw-rw-rw though the umask is 022.

So it seems that KIO::StoredTransferJob/KIO::storedPut() doesn't respect the
umask (KNewFileMenu sets the permissions to -1 which means "default
permissions").

It works fine when copying actual files from /usr/share/templates/, in this
case KIO::CopyJob/KIO::copyAs() is used, the file gets rw-r--r-- with an umask
of 022 even if the source file has rw-rw-rw.

Haven't investigated deeper yet though.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to