Bug 845522 - guestfish "copy-out / localdir" command fails with "No such file or directory"
guestfish "copy-out / localdir" command fails with "No such file or directory"
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2012-08-03 06:05 EDT by Richard W.M. Jones
Modified: 2012-08-03 07:55 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-03 07:55:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2012-08-03 06:05:22 EDT
Description of problem:

$ guestfish -N fs -m /dev/sda1 copy-out / /tmp
No such file or directory
libguestfs: error: /dev/fd/7: write: Broken pipe

This works if some other source directory that "/" is used, eg:

$ guestfish -N fs -m /dev/sda1 mkdir /foo : copy-out /foo /tmp
[no error]

Version-Release number of selected component (if applicable):

libguestfs 1.18.5.

How reproducible:

Comment 1 Richard W.M. Jones 2012-08-03 07:55:55 EDT
Fixed upstream in commit 2a87261dfc830cd6bcb44aa1628d955cb6423bd7.

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