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@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@redhat.com
>
https://www.redhat.com/mailman/listinfo/libguestfs
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs