dynamic dir permissions

Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
Wed, 7 May 1997 18:22:29 +0200

Message-Id: <19970507182229.ZS53672@breughel.ufsia.ac.be>
Date: Wed, 7 May 1997 18:22:29 +0200
From: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)
To: fastcgi-developers@OpenMarket.com
Subject: dynamic dir permissions

The 2.0b1 version of mod_fastcgi about not haveing
enough permissions on the dynamic dir.
This fixes it.


--- mod_fastcgi.c.orig	Tue May  6 22:46:31 1997
+++ mod_fastcgi.c	Tue May  6 22:46:10 1997
@@ -2162,6 +2162,10 @@
 	    return "Unable to create \"dynamic\" subdirectory";
 	}
     }
+#ifndef __EMX__
+     /* OS/2 dosen't support changing ownership. */
+    chown(ipcDynamicDir, uid, gid);
+#endif    
 DoMbox:
     /* delete everything in the directory */
     dpentry = Malloc(strlen(ipcDynamicDir)+255);


skimo