KSaveFile

Waldo Bastian bastian at kde.org
Sun Feb 22 14:16:53 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun February 22 2004 13:51, Julian Rockey wrote:
> On Saturday 21 Feb 2004 21:20, Richard Smith wrote:
> > On Saturday 21 February 2004 9:13 pm, Waldo Bastian wrote:
> > > On Sat February 21 2004 18:01, Julian Rockey wrote:
> > > > ....
> > > > Should we be remembering the permissions of the original file and
> > > > re-setting them after the renaming? I can patch it if required.
> > >
> > > Probably a good idea, yes.
> >
> > Resetting them before renaming (or even writing to the file at all) would
> > be better, otherwise you still have a race where someone can read the
> > file before it's moved and chmod'd (if, for instance, the file's not
> > supposed to be group readable).
> >
> > Richard
>
> OK to commit this? And to 3_2_BRANCH too?

Fine with me.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAOLnVN4pvrENfboIRAtcQAJ9wghgP/D+kkiRgbWqSJYg684jUuwCcCbqg
WuuvzOpgS93BL6WUt/4dm1c=
=yLLJ
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list