KFileSave bug

Branan Riley branan at gmail.com
Fri Mar 9 04:13:23 GMT 2007


Actualy, preserving the owner makes sense security-wise. Otherwise if
you had permissions set to 0666 (or even 0660), someone could just
save the file then switch the permissions, and you've lost your file.
That seems a bigger violation of the Unix security model than
preserving the original owner when editing a file.

As for whether or not that's actually possible the way POSIX is
written... I have no idea.

Branan

On 3/8/07, Richard Moore <richmoore44 at gmail.com> wrote:
> On 3/8/07, Nick Shaforostoff <shafff at 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.
>
> Rich.
>




More information about the kde-core-devel mailing list