Comments (4)
Important note: I ran the installation inside a docker container where umask was 0027 which is a more restrictive mask then the host's 0022. And I think this is the main cause.
from nng.
Sounds plausible. If you install things with insufficient permission to allow others to read them, then it won't be much surprise when they fail because they can't read them.
from nng.
It isn't clear to me that there is anything really for me to do here.
The relevant rules are:
# Install the header files.
install(DIRECTORY ../include/nng
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT Headers)
I suppose I could add the FILE_PERMISSIONS and DIRECTORY_PERMISSIONS attributes to those command lines instead of relying on the default, but I'm not sure that's a great idea.
I honestly think if you use a very strict umask (like 027), then you probably want that umask to be honored. If that means that stuff breaks for stuff you installed for others (for example while operating in a root account) -- perhaps the umask setting is contra-indicated?
Put another way, I don't feel comfortable changing (or overriding) a umask that a user may have set here.
from nng.
I'm closing this as "won't fix" for now.
from nng.
Related Issues (20)
- IPC socket could support setting ownership HOT 1
- Missing Header in posix_rand_getrandom.c
- nng_msg_insert: munmap_chunk(): invalid pointer HOT 3
- Deadlock during nng_close() - multi platform HOT 23
- Sendmsg Thread Blocking HOT 3
- How to create a new language binding using a binary/dll? HOT 1
- Compiler warnings / errors from new logging feature on Windows HOT 2
- Windows a deadlock on `nng_close()` HOT 13
- mqttv5_client chokes on CONNACK packet HOT 2
- setting NNG_OPT_TLS_CONFIG on socket should hold reference HOT 6
- Memory Leak in nng_rep0_open HOT 2
- IPC - Use After Free HOT 4
- Will the NNG framework built-in handle packet splitting and sticking issues during streaming transmission? HOT 2
- Tools or API could obtain all communication endpoint information for establishing communication with this machine HOT 2
- nng_socket_set_ms didn't work HOT 2
- How to build nng_testing as a dynamic library? HOT 2
- Add support for TLS PSK
- merge wolfSSL support inline, and relicense it under same terms as NNG and add PSK HOT 1
- Document - Wrong description HOT 1
- add TLS 1.3 support for Mbed TLS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nng.