Giter Club home page Giter Club logo

Comments (4)

szevzol avatar szevzol commented on August 27, 2024

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.

gdamore avatar gdamore commented on August 27, 2024

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.

gdamore avatar gdamore commented on August 27, 2024

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.

gdamore avatar gdamore commented on August 27, 2024

I'm closing this as "won't fix" for now.

from nng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.