[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [Patch] let KSaveFile honor the umask
From: Thiago Macieira <thiago () kde ! org>
Date: 2008-03-26 15:11:41
Message-ID: 200803261611.41755.thiago () kde ! org
[Download RAW message or body]
Thorsten Zachmann wrote:
>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?
By calling umask, you make the code thread-unsafe.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic