Re: dynamic dir permissions
Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
Thu, 8 May 1997 19:43:28 +0200
Message-Id: <19970508194328.HA43213@breughel.ufsia.ac.be>
Date: Thu, 8 May 1997 19:43:28 +0200
From: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)
To: fastcgi-developers@OpenMarket.com
Subject: Re: dynamic dir permissions
In-Reply-To: <19970507182229.ZS53672@breughel.ufsia.ac.be>; from Sven Verdoolaege on May 7, 1997 18:22:29 +0200
On May 7, skimo@breughel.ufsia.ac.be (Sven Verdoolaege) wrote:
> The 2.0b1 version of mod_fastcgi about not haveing
> enough permissions on the dynamic dir.
> This fixes it.
Make that
--- mod_fastcgi.c.orig Tue May 6 22:46:31 1997
+++ mod_fastcgi.c Wed May 7 20:51:32 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 =20
DoMbox:
/* delete everything in the directory */
dpentry =3D Malloc(strlen(ipcDynamicDir)+255);
@@ -2188,6 +2192,10 @@
"Unable to create mbox file in dynamic subdirectory";
}
close(fd);
+#ifndef __EMX__
+ /* OS/2 dosen't support changing ownership. */
+ chown(mbox, uid, gid);
+#endif =20
return NULL;
}
=0C