Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3C4D4497.8FF4039A@wapme-systems.de> Date: Tue, 22 Jan 2002 11:53:11 +0100 From: Stipe Tolj Organization: Wapme Systems AG X-Mailer: Mozilla 4.7 [de]C-CCK-MCD QXW0322b (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Corinna Vinschen Subject: Re: apache-1.3.22-4 no-detach patch References: <3C475FB1 DOT 26A73DB7 AT wapme-systems DOT de> <20020118093341 DOT A18161 AT cygbert DOT vinschen DOT de> <3C47EC5B DOT D0886E51 AT wapme-systems DOT de> <20020118161913 DOT C11608 AT cygbert DOT vinschen DOT de> <3C4AF0EC DOT C1F0F399 AT wapme-systems DOT de> <20020121112248 DOT H11608 AT cygbert DOT vinschen DOT de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Corinna Vinschen wrote: > > Ok, as far as I can see, the problem is line 4136f. in http_main.c: > > /* Only try to switch if we're running as root */ > if (!geteuid() && ( > > That could get changed to (just a draft): > > #ifdef CYGWIN > /* Only try to switch if we're running as SYSTEM */ > #define SYSTEM_UID 18 > if (geteuid() == SYSTEM_UID && ( > #else > /* Only try to switch if we're running as root */ > if (!geteuid() && ( > #endif thanks for that report Corinna. I'm fixing things up this evening and preparing -4 for distribution. Stipe tolj AT wapme-systems DOT de ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: info AT wapme-systems DOT de Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are