You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make clean libzstd.a fails with a file system permission error if using Go modules as implemented in Go 1.11. The make clean target tries to remove the libzstd_target file, but Go has set the current directory to Unix permission 0555, which does not allow removing files.
Seems that with the move to modules, the Go project is taking an aggressive stance on this. Their deciding reason is that this, in particular, prevents unit tests, which are run from their containing directory, from modifying the contents of their directory.
Issue
make clean libzstd.a
fails with a file system permission error if using Go modules as implemented in Go 1.11. Themake clean
target tries to remove the libzstd_target file, but Go has set the current directory to Unix permission 0555, which does not allow removing files.Specifically:
Seems that with the move to modules, the Go project is taking an aggressive stance on this. Their deciding reason is that this, in particular, prevents unit tests, which are run from their containing directory, from modifying the contents of their directory.
See golang/go#27161.
Expected
Either
make clean libzstd.a
succeeds or there is some workaround.Steps to reproduce
Bash script:
The text was updated successfully, but these errors were encountered: