Bug 503133 - "mkdir-p" should not throw errors on preexisting directories
Summary: "mkdir-p" should not throw errors on preexisting directories
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-29 06:46 UTC by Charles Duffy
Modified: 2010-03-27 10:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-27 10:12:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Charles Duffy 2009-05-29 06:46:58 UTC
On Thu, May 28, 2009 at 06:04:16PM -0500, Charles Duffy wrote:
> > To properly behave as "mkdir -p", mkdir-p should consider the case where  
> > the target directory already exists successful.
> >
> > libguestfs: error: mkdir -p: /root/.ssh: File exists

Yes, please file a bug report about that so we can track it.

Rich.

Comment 1 Richard W.M. Jones 2009-05-29 10:21:48 UTC
I think this should fix it:
http://git.et.redhat.com/?p=libguestfs.git;a=commit;h=f6e36bf361c587e0dbb2f0c71f5d22a7cf7f4f42

Comment 2 Fedora Update System 2009-05-29 13:48:41 UTC
libguestfs-1.0.37-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.37-1.fc11

Comment 3 Fedora Update System 2009-06-02 15:10:50 UTC
libguestfs-1.0.38-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.38-1.fc11

Comment 4 Fedora Update System 2009-06-04 15:40:10 UTC
libguestfs-1.0.41-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.41-1.fc11

Comment 5 Fedora Update System 2009-06-06 17:58:27 UTC
libguestfs-1.0.42-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.42-1.fc11

Comment 6 Fedora Update System 2009-06-23 09:15:54 UTC
libguestfs-1.0.51-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.51-1.fc11

Comment 7 Fedora Update System 2009-06-29 19:28:29 UTC
libguestfs-1.0.54-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.54-2.fc11

Comment 8 Fedora Update System 2009-07-02 23:27:16 UTC
libguestfs-1.0.55-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.55-1.fc11

Comment 9 Fedora Update System 2009-07-11 09:28:16 UTC
libguestfs-1.0.58-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.58-2.fc11

Comment 10 Fedora Update System 2009-07-11 17:13:37 UTC
libguestfs-1.0.54-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-07-19 10:28:56 UTC
libguestfs-1.0.58-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Richard W.M. Jones 2010-03-27 10:12:36 UTC
Seems to be fixed upstream:

><fs> mkdir-p /a/b/c
><fs> mkdir-p /a/b/c
><fs> mkdir-p /a/b/c/d/e
><fs> find /
a
a/b
a/b/c
a/b/c/d
a/b/c/d/e


Note You need to log in before you can comment on or make changes to this bug.