Code Monkey home page Code Monkey logo

Comments (6)

jordanruthe avatar jordanruthe commented on July 20, 2024

Check out this previous issue: #45

from moonraker.

Arksine avatar Arksine commented on July 20, 2024

Indeed this is similar to #45. I would be willing to make an exception if this functionality is necessary to package moonraker, however I would require more specificity than any subdirectory in /etc. For example, I am willing to allow /etc/moonraker as an exception.

from moonraker.

expeditioneer avatar expeditioneer commented on July 20, 2024

@Arksine feel free to pick a sub directory, - i think /etc/moonraker sounds reasonable.

from moonraker.

Arksine avatar Arksine commented on July 20, 2024

Ok, commit 9a309ff allows directories within /etc/moonraker. You can choose /etc/moonraker itself if you want, however I would recommend /etc/moonraker/config for the configuration files, that way you could specify /etc/moonraker/gcode_files for the gcode files if you like. That is up to you though. You simply need to make sure moonraker has permisssion to read/write to this directory.

from moonraker.

expeditioneer avatar expeditioneer commented on July 20, 2024

@Arksine Thank you for your fast implementation

from moonraker.

Arksine avatar Arksine commented on July 20, 2024

Since multiple people have requested a less restrictive directory location I have gone ahead and removed the restriction that folders be located in the HOME directory. Moonraker will check its permissions on the directory, as long as it has them it will allow it. The only exception is the system root, which is always prohibited.

from moonraker.

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.