Giter Site home page Giter Site logo

Comments (4)

daenney avatar daenney commented on July 16, 2024

My documentation says 'own it', not be able to write to it. chown user:group and chmod +x chmod +w is not the same.

from puppetboard.

daenney avatar daenney commented on July 16, 2024

I'm all for moving this out of /var/www though because I do see your point, a lot of people have that directory automatically exposed through their HTTPd's so that might cause trouble.

from puppetboard.

sciurus avatar sciurus commented on July 16, 2024

"My documentation says 'own it', not be able to write to it."

I'm a little confused by the distinction you're trying to draw here. With a standard 0022 umask, files will be created with the permissions -rw-r--r-- and directories with drwxr-xr-x. Unless you explicitly document removing write permissions, puppetboard users are going to leave things writable by the web server.

Since I'm not super familiar with mod_wsgi, I wanted to check if there really is a reason the user the application is running as needs to own that file. In my testing it seems the answer is no. If not, I can revise the documentation to change those steps. I can also add a little bit of info about setting puppetboard up on Fedora. If that sounds good let me know and I'll get a PR to you when I have a chance.

from puppetboard.

daenney avatar daenney commented on July 16, 2024

Ah great. I was always told that the WSGI file needs to be owned by the user it'll run as but it makes sense that read privileges would be enough.

Feel free to send the PR!

from puppetboard.

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.