diff --git a/src/octoprint/daemon.py b/src/octoprint/daemon.py index 958d6777..f27a9102 100644 --- a/src/octoprint/daemon.py +++ b/src/octoprint/daemon.py @@ -28,7 +28,7 @@ class Daemon: # decouple from parent environment os.chdir('/') os.setsid() - os.umask(0) + os.umask(002) # do second fork try: diff --git a/src/octoprint/static/js/lib/less-1.3.3.min.js b/src/octoprint/static/js/lib/less.min.js similarity index 100% rename from src/octoprint/static/js/lib/less-1.3.3.min.js rename to src/octoprint/static/js/lib/less.min.js diff --git a/src/octoprint/templates/index.jinja2 b/src/octoprint/templates/index.jinja2 index 36ac1035..c7d25b2a 100644 --- a/src/octoprint/templates/index.jinja2 +++ b/src/octoprint/templates/index.jinja2 @@ -32,7 +32,7 @@ var SOCKJS_URI = window.location.protocol.slice(0, -1) + "://" + (window.document ? window.document.domain : window.location.hostname) + ":" + window.location.port + "/sockjs"; var SOCKJS_DEBUG = {% if debug -%} true; {% else %} false; {%- endif %} - +