| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/mod_auth_xradius/files/ |
Upload File : |
--- ./src/xradius_cache.c.orig 2005-04-27 08:49:25.000000000 +0200
+++ ./src/xradius_cache.c 2014-08-25 17:00:48.000000000 +0200
@@ -143,10 +143,17 @@
/* Running as Root */
if (geteuid() == 0) {
/* Allow the configured Apache use to read/write to the DBM */
+#if MODULE_MAGIC_NUMBER_MAJOR >= 20111130
+ chown(path1, ap_unixd_config.user_id, -1);
+ if (path2 != NULL) {
+ chown(path2, ap_unixd_config.user_id, -1);
+ }
+#else
chown(path1, unixd_config.user_id, -1);
if (path2 != NULL) {
chown(path2, unixd_config.user_id, -1);
}
+#endif
}
#endif