Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Compress-Archive fails on symlinks ending in . #61

Open
rkeithhill opened this issue Jul 23, 2018 · 0 comments
Open

Compress-Archive fails on symlinks ending in . #61

rkeithhill opened this issue Jul 23, 2018 · 0 comments

Comments

@rkeithhill
Copy link

This is the error I see on a symlink ending with a .:

ZipArchiveHelper : Could not find file '/home/bld/builds/jo/develop-Complete-RedHat/out/Linux-x64-Debug/lib/libgasl.so.'.
At /opt/microsoft/powershell/6.0.1/Modules/Microsoft.PowerShell.Archive/1.1.0.0/Microsoft.PowerShell.Archive.psm1:713 char:30
+ ... sArchived = ZipArchiveHelper $subDirFiles.ToArray() $destinationPath  ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : PermissionDenied: (/home/bld/b...lib/libgasl.so.:String) [Write-Error], FileNotFoundException
+ FullyQualifiedErrorId : CompressArchiveUnauthorizedAccessError,ZipArchiveHelpe

The link and target file are:

-rwxr-xr-x 1 bld domain [email protected] 5850260 Jul 20 11:06 libgasl.so
lrwxrwxrwx 1 bld domain [email protected]      12 Jul 20 11:06 libgasl.so. -> libgasl.so..
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants