-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read libgo_cosmwasm.so for non-root user #43
Comments
I think all scripts run this as root without issue currently. Is this still an issue? Both, is the behavior the same (I think so)? And does this still need to change (I think not)? |
The issue still exists. Even if no priority, I think it is annoying and unexpected that you can't execute I think I found the core of it. The go module system downloads an extracts packages into temporary folders created by ioutil.TempDir, which creates the folders for the current user only. Then makeDirsReadOnly removes the write flags for all users, converting 700 to 500. A lot of people are discussing for years about the missing write flag, which prevents you from deleting the cache with Now I wonder if the proper way to do this is to install the library from the root only location |
The I guess we could add a |
* fix: delete unnecessary test * docs: add CHANGELOG
…CosmWasm#53) * build: replace line repositories with finschia repositories (CosmWasm#30) * build: replace line repositories with finschia repositories * Update x/wasmplus/README.md Co-authored-by: zemyblue <zemyblue@gmail.com> * Update x/wasm/ibc_reflect_test.go Co-authored-by: zemyblue <zemyblue@gmail.com> * Update .github/dependabot.yml Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> * docs: replace a comment contains line with finschia one * build: replace line in Dockerfile with finschia * docs: replace line in README.md with Finschia * docs: update CHANGELOG --------- Co-authored-by: zemyblue <zemyblue@gmail.com> Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> * chore: update changelog for release v0.1.3 (CosmWasm#31) * fix: stop wrap twice the response of handling non-plus wasm message in plus handler (CosmWasm#35) * fix: stop wrap twice non-plus wasm hander's response fix Finschia#33 * test: add tests handling non-plus wasm messages * docs: add this PR to CHANGELOG.md * fix: reflect golangci-lint * fix: simplify how to handle the message in wasmplus * chore: update notice (CosmWasm#44) * chore: update notice * chore: update changelog * fix: delete unnecessary test (CosmWasm#43) * fix: delete unnecessary test * docs: add CHANGELOG * feat: add admin-related events (CosmWasm#46) * add admin-related events in docs * fix ClearAdmin event * cherry-pick upstream admin-related events update * chore: update changelog for release v0.1.4 (CosmWasm#49) * build: update depending wasmvm to v1.1.1-0.11.2-dynamiclink2 and update tests --------- Co-authored-by: zemyblue <zemyblue@gmail.com> Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> Co-authored-by: Daisuke Iuchi <42408108+da1suk8@users.noreply.github.com> Co-authored-by: Jayden Lee <41176085+tkxkd0159@users.noreply.github.com>
In the docker image 0cf23ed945ee from https://hub.docker.com/r/cosmwasm/wasmd/tags, I cannot run wasmcli as a different user than root. This is because libgo_cosmwasm.so cannot be loaded:
This is because a different user cannot access
/go/pkg/mod/github.com/confio/go-cosmwasm@v0.6.2
:I wonder where those restrictive permission settings come from.
The text was updated successfully, but these errors were encountered: