Created
October 26, 2014 19:50
-
-
Save jokeru/1777105c9eea2227ee5d to your computer and use it in GitHub Desktop.
collectd-web_0.4.0 patch for ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/lib/python2.7/CGIHTTPServer.py 2014-10-26 19:24:43.087509000 +0000 | |
+++ /usr/lib/python2.7/CGIHTTPServer.ubuntu.py 2014-10-26 19:33:00.487509000 +0000 | |
@@ -243,10 +243,10 @@ | |
return | |
# Child | |
try: | |
- try: | |
- os.setuid(nobody) | |
- except os.error: | |
- pass | |
+# try: | |
+# os.setuid(nobody) | |
+# except os.error: | |
+# pass | |
os.dup2(self.rfile.fileno(), 0) | |
os.dup2(self.wfile.fileno(), 1) | |
os.execve(scriptfile, args, env) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment