GNU bug report logs - #13352
cp: ignore EEXIST errors from mkdir

Previous Next

Package: coreutils;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Fri, 4 Jan 2013 00:06:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Mike Frysinger <vapier <at> gentoo.org>
To: 13352 <at> debbugs.gnu.org
Cc: eggert <at> cs.ucla.edu
Subject: bug#13352: [PATCH] cp: ignore EEXIST errors from mkdir
Date: Fri, 4 Jan 2013 00:16:39 -0500
[Message part 1 (text/plain, inline)]
On Thursday 03 January 2013 19:17:03 Paul Eggert wrote:
> Thanks for the bug report, but I'm not sure that's the right
> fix.  Wouldn't it be better to address the following FIXME in cp.c?
> 
>    /* FIXME: Synch this function with the one in ../lib/mkdir-p.c.  */
> 
> The function in mkdir-p.c doesn't have the bug.

i thought it might, but i didn't want to get into the nuances here.  `mkdir -
p` isn't copying a tree and its set of perms like `cp -pR` does.  it might not 
actually affect the code, but i'm not familiar enough with the code base to 
say.
-mike
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 229 days ago.

Previous Next


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