Open ivan386 opened 6 years ago
@djdv gx uses the API and then extracts the tar files itself. Do we need to register a path sanitizer?
@Stebalien Yes, once https://github.com/ipfs/go-ipfs/pull/4956 is finalized/merged, I'll replicate the behaviour here: https://github.com/ipfs/go-ipfs-api/pull/90 This still requires that users have symlink creation privileges though, or in Go 1.11 on Windows 10, enable "Developer Mode".
Actually @ivan386
not supported by windows
This appears to be the error returned on Windows XP, which does not support symlinks officially. The proposed fix always tries to create links first, so if you can successfully create them (by using unofficial patches), it should work. However Go is explicitly inserting this error on the platform so it would have to be dealt with upstream in Go's os.Symlink
.
workaround
ipfs get -a QmPnFwZ2JXKnXgMw8CdBPxn7FWh6LLdjUjxV1fKHuJnkr8
Unpack tar to \src\gx\ipfs
I can't build ipfs with that.