[Libguestfs] Guestfish command - "copy-out" not working for symbolic links

Nikolay Ivanets stenavin at gmail.com
Fri Jun 28 09:00:57 UTC 2019


If it is one time operation you can call 'realpath'
(http://libguestfs.org/guestfs.3.html#guestfs_realpath) first to
resolve symlink.

--
    +380979184774
    Mykola Ivanets

пт, 28 черв. 2019 о 11:11 Chintan Patel <Chintan.Patel at microsoft.com> пише:
>
> HI,
>
> I’m trying to use copu-out command to copy files from remote disk but it’s not working if the file is symbolic link.
>
> copy-out giving an error like below.
> libguestfs: error: ‘/etc/resolv.conf’ is not a file or directory
> This file is there but it's a symbolic link
>
> Do you have any other way to copy remote symbolic link files?
>
> Thanks,
>
> Chintan
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs




More information about the Libguestfs mailing list