summaryrefslogtreecommitdiff
blob: 349822a5733a7226fc6d6575e4b97774b2fa160f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/xradius_cache.c
+++ b/src/xradius_cache.c
@@ -143,9 +143,9 @@
     /* Running as Root */
     if (geteuid() == 0)  {
         /* Allow the configured Apache use to read/write to the DBM */
-        chown(path1, unixd_config.user_id, -1);
+        chown(path1, ap_unixd_config.user_id, -1);
         if (path2 != NULL) { 
-            chown(path2, unixd_config.user_id, -1);
+            chown(path2, ap_unixd_config.user_id, -1);
         }
     }
 #endif