question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prebuilt binaries for v1.7.0 have incorrect permissions

See original GitHub issue

The permissions for the prebuilt linux binaries for v1.7.0 use 0750 instead of 0755 and seem to be preserving some random-ish looking uid/gid instead of using the uid/gid of the installing process.

The following were run inside a docker container (docker run --rm -it node:8.6.0 bash):

v1.7.0:

root@73ae751b8855:~# npm install grpc@1.7.0
root@73ae751b8855:~# ls -l node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/
total 6468
-rwxr-x--- 1 255363 5000 6621262 Nov  1 20:12 grpc_node.node

v1.6.6:

root@73ae751b8855:~# npm install grpc@1.6.6
root@73ae751b8855:~# ls -l node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/
-rwxr-xr-x 1 root root 6184072 Oct  5 19:31 grpc_node.node

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
6utt3rflycommented, Nov 2, 2017

I spent several hours debugging a number of docker images that started having errors with rebuilding. Until PR #77 is published, I put a dependency in my package.json file with "grpc": "1.6.6",

1reaction
murgatroid99commented, Nov 2, 2017

We have published grpc@1.7.1, which should fix this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows versions are missing · Issue #99 · grpc/grpc-node
I have a node app that deploys to Windows Azure, it uses the googleapis and ... Prebuilt binaries for v1.7.0 have incorrect permissions...
Read more >
node.js - Pre-built binaries not found for grpc@1.10.1 and ...
I've tried using npm i @firebase@latest to update it, but I get the message 'Invalid package name "@firebase": name can only contain URL- ......
Read more >
Building from source on Windows — SciPy v1.7.0 Manual
The build may fail with an error after a few hours but may also fail silently and produce an incorrect binary. Please, if...
Read more >
How to Restore correct permissions on Windows Search ...
Microsoft has ready not tried to resolve this problem. The answer is quite simple. Local the folder <<C:\ProgramData\Microsoft\Search>>. The ...
Read more >
Securing file permissions and ownership
The server file system should be configured so that the web server (e.g. Apache) does not have permission to edit or write the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found