Skip to content

On some Windows setups Symbolic links in Zstd source code lead to PermissionDenied error #6

@leroycep

Description

@leroycep
> zig build
.\zig-pkg\zstd-1.5.7-1-KEItkAMwAAD6OKY3m0OOmXG7aL-aLUfrDqbP5J5oYapU\build.zig.zon:7:20: error: unable to unpack packfile
            .url = "git+https://github.com/facebook/zstd.git?ref=v1.5.7#f8745da6ff1ad1e7bab384bd1f9d742439278e99",
note: unable to create symlink from 'tests\cli-tests\bin\unzstd' to 'zstd': PermissionDenied
note: unable to create symlink from 'tests\cli-tests\bin\zstdcat' to 'zstd': PermissionDenied

Honestly I'm not sure if it's worth fixing this issue, because as far as I know there the only fix for this repo is to make this into a repository that forks the zstd code and removes unnecessary files.

There are other possible fixes, but they would need to be done upstream by the Zig Software Foundation, facebook, or Microsoft.

For a developer that runs into this problem, another fix is to give your Windows User the permission to create symbolic links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions