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

List:       kde-core-devel
Subject:    Re: KFileSave bug
From:       "Branan Riley" <branan () gmail ! com>
Date:       2007-03-09 4:13:23
Message-ID: cad96db0703082013g7d34a085qffba3d4c3537783c () mail ! gmail ! com
[Download RAW message or body]

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@gmail.com> 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.
>
> Rich.
>
[prev in list] [next in list] [prev in thread] [next in thread] 

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