Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
'tar_extract' function fails if there is a linked folder in workingdir that matches one in the tar file #4965
referenced this pull request
Apr 12, 2019
The destination directory could also have the symlink issue, which in turn opens the question of what to do with existing folders and files with the same name as those in the tar file (I'm not sure what Conan is doing in such cases).
With this change, it won't happen with packages (we clean the target directory before extracting) but can still happen with utilities from the
A different approach, as you suggest, would be to extract the zip to a temporary folder and then copy it to the destination dir, but this additional copy could be slow for big packages (or packages with thousands of small files).