Changeset 908 for server/common/patches


Ignore:
Timestamp:
Dec 31, 2008, 4:18:58 PM (16 years ago)
Author:
andersk
Message:
Teach suexec to setenv("HOME").
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/patches/httpd-suexec-scripts.patch

    r873 r908  
    177177         exit(107);
    178178     }
    179 @@ -482,6 +551,19 @@
     179@@ -482,6 +551,21 @@
    180180         log_err("failed to setuid (%ld: %s)\n", uid, cmd);
    181181         exit(110);
     
    194194+        }
    195195+    }
     196+
     197+    setenv("HOME", target_homedir, 1);
    196198 
    197199     /*
Note: See TracChangeset for help on using the changeset viewer.