Bug 1153412
Summary: | copy-in and copy-out copy symbolic link file problems, it only copy the link property not the real file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Lingfei Kong <lkong> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 6.6 | CC: | leiwang, mbooth, ptoscano, rjones, virt-bugs, wshi, yuliu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1153411 | Environment: | |
Last Closed: | 2014-11-04 12:41:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1153411 | ||
Bug Blocks: |
Description
Lingfei Kong
2014-10-16 02:46:13 UTC
><fs> trace 1 ><fs> copy-in soft_hosts /boot/ libguestfs: trace: is_dir "/boot/" libguestfs: trace: is_dir = 1 libguestfs: trace: tar_in "/dev/fd/10" "/boot/" libguestfs: trace: tar_in = 0 ><fs> ll /boot/soft_hosts libguestfs: trace: ll "/boot/soft_hosts" libguestfs: trace: ll = "lrwxrwxrwx 1 root root 5 Oct 16 03:11 /sysroot/boot/soft_hosts -> hosts\n" lrwxrwxrwx 1 root root 5 Oct 16 03:11 /sysroot/boot/soft_hosts -> hosts ><fs> help copy-in NAME copy-in - copy local files or directories into an image DESCRIPTION copy-in local [local ...] /remotedir "copy-in" copies local files or directories recursively into the disk image, placing them in the directory called "/remotedir" (which must exist). This guestfish meta-command turns into a sequence of "tar-in" and other commands as necessary. ...... It use tar_in to copy the symbolic links, i found the following line in 'help copy-in': This guestfish meta-command turns into a sequence of "tar-in" and other commands as necessary. When it copy ordinary files maybe upload is best for it. Closing as NOTABUG, per comments in bug 1153411. |