[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KFileSave bug
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-03-09 6:43:29
Message-ID: 200703090743.29965.thiago () kde ! org
[Download RAW message or body]
Branan Riley wrote:
>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.
Only root can chown(2).
Preserving the owner is not possible.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic