GNU bug report logs - #6397
24.0.50; `make-directory' return value

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 10 Jun 2010 20:52:01 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 6397 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6397 <at> debbugs.gnu.org
Subject: Re: 24.0.50; `make-directory' return value
Date: Thu, 14 Jul 2011 01:54:17 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> I suppose that's a legitimate point in the abstract, but highly unlikely in
> practice.  And there is probably some way (file attributes? permissions?) of
> making any created directories invisible/inaccessible during the transaction.

Nope.  There isn't.

You often see this sort of problem in web server caches, where you have
a gazillion processes all trying to create variants on the same
directory structures.  This may fail because two processes tries to
create /var/tmp/cache/foo/bar/zot at the same time, for instance.
Trying to unwind this in a general fashion is impossible, and must be
left to a higher level to determine what to do.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.