l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Hurd-NG] Error in dir_rename pseudo-code


From: Marcus Brinkmann
Subject: Re: [Hurd-NG] Error in dir_rename pseudo-code
Date: Wed, 26 Apr 2006 20:58:31 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/21.4 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 26 Apr 2006 17:26:09 +0200,
Pierre THIERRY <address@hidden> wrote:
> 
> [1  <multipart/signed (7bit)>]
> [1.1  <text/plain; us-ascii (quoted-printable)>]
> Scribit Marcus Brinkmann dies 26/04/2006 hora 14:51:
> > This only checks for exact identity.  But a server may give out
> > different capabiilities to the same directory, notably if they convey
> > permissions.
> 
> Oh shit, I forgot. Would it be unsafe to unlink first?

Hell, no ;) This opens up a race that was the reason for Unix to
introduce rename() in the first place, back in the stone age.

Thanks,
Marcus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]