From 65fb470d245a4b8267d013fd1079670379df3ba6 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 17 Dec 2003 19:31:42 +0000 Subject: [PATCH 1/1] - session handling fix (from mod_python CVS, found by Marcin Gajda) Changed files: apache-mod_python-right-mutex-perms.patch -> 1.1 --- apache-mod_python-right-mutex-perms.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apache-mod_python-right-mutex-perms.patch diff --git a/apache-mod_python-right-mutex-perms.patch b/apache-mod_python-right-mutex-perms.patch new file mode 100644 index 0000000..c8e1cf9 --- /dev/null +++ b/apache-mod_python-right-mutex-perms.patch @@ -0,0 +1,15 @@ +--- mod_python-3.1.2b.orig/src/mod_python.c 2003-10-22 21:57:04.000000000 +0200 ++++ mod_python-3.1.2b/src/mod_python.c 2003-12-16 22:33:03.000000000 +0100 +@@ -419,7 +419,11 @@ + } + else { + #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) +- chown(fname, unixd_config.user_id, -1); ++ if( !geteuid() ) ++ { ++ chown(fname, unixd_config.user_id, -1); ++ unixd_set_global_mutex_perms(mutex[n]); ++ } + #endif + } + } -- 2.43.0