Skip to content

Compress-Archive fails on symlinks ending in . #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants