allyourcodebase / allyourcodebase/zstd

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

Aperta
#6 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Zig
Stelle
16
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.