]> git.pld-linux.org Git - packages/apache-mod_python.git/blame - apache-mod_python-right-mutex-perms.patch
- s/no/nb/ in Summary langs
[packages/apache-mod_python.git] / apache-mod_python-right-mutex-perms.patch
CommitLineData
65fb470d
JB
1--- mod_python-3.1.2b.orig/src/mod_python.c 2003-10-22 21:57:04.000000000 +0200
2+++ mod_python-3.1.2b/src/mod_python.c 2003-12-16 22:33:03.000000000 +0100
3@@ -419,7 +419,11 @@
4 }
5 else {
6 #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
7- chown(fname, unixd_config.user_id, -1);
8+ if( !geteuid() )
9+ {
10+ chown(fname, unixd_config.user_id, -1);
11+ unixd_set_global_mutex_perms(mutex[n]);
12+ }
13 #endif
14 }
15 }
This page took 0.024946 seconds and 4 git commands to generate.