[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KFileSave bug
From:       "Nick Shaforostoff" <shafff () ukr ! net>
Date:       2007-03-09 13:35:37
Message-ID: op.toxb1ngt63l8gs () localhost
[Download RAW message or body]

On Fri, 09 Mar 2007 13:00:37 +0200, <kde-core-devel-request@kde.org> wrote:
> On 3/8/07, Nick Shaforostoff <shafff@ukr.net> wrote:
>> KFileSave doesnt preserve original file's permissions (and ownerz)
>
> Permissions maybe, but how is it supposed to preserve the owner? That
> would totally violate the unix security model. Please could you
> provide a precise example of what the current behaviour is and what
> you'd prefer in comparison.

I test KAider (ran from kde-devel account) on kde svn .po files:
i 'chmod a+r *po && chmod a+w *po' under my usual account, then change one  
of .po files with KAider,
and then i cant even 'svn diff' from my main account, because the file  
cant be read.

because of this i have switched back to QFile
(kaider could take a little advantage of KFileSave anyway, cause it uses  
transaction-style saving ("begin transaction", "commit transaction"))

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic