allyourcodebase / allyourcodebase/zstd

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

未關閉
#6 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Zig
星號
16
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

```
> 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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。