Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 1998 20:18:14 +0100 (MET)
From:      Guido van Rooij <guido@gvr.org>
To:        ache@nagual.pp.ru (=?koi8-r?B?4c7E0sXKIP7F0s7P1w==?=)
Cc:        guido@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG
Subject:   Re: cvs commit: src/gnu/usr.bin/sort sort.c
Message-ID:  <199803061918.UAA13548@gvr.gvr.org>
In-Reply-To: <19980306220751.23226@nagual.pp.ru> from "[______ ______]" at "Mar 6, 98 10:07:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
[______ ______] wrote:
> On Fri, Mar 06, 1998 at 11:00:27AM -0800, Guido van Rooij wrote:
> > guido       1998/03/06 11:00:27 PST
> > 
> >   Modified files:
> >     gnu/usr.bin/sort     sort.c 
> >   Log:
> >   Open temporary files with O_EXCL.
> >   Obtained from:bugtraq
> 
> This change cause sort fails if someone makes file with the same name.
> It means that anybody can stop root's sort in progress (f.e. valuable
> things sorted) or any user sort. Non-fixed sort allows more, of course,

Yes. But without it, anyone can have root's sort process overwrite any file
(via symlinks).

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803061918.UAA13548>