Re: OS error 'permission denied'
Scott Langley (langles@VOTE-SMART.ORG)
Tue, 17 Sep 1996 00:56:42 -0700 (PDT)
Date: Tue, 17 Sep 1996 00:56:42 -0700 (PDT)
From: Scott Langley <langles@VOTE-SMART.ORG>
To: freeform <freeform@wired.com>
Subject: Re: OS error 'permission denied'
In-Reply-To: <Pine.BSI.3.95.960916224735.16700K-100000@get.wired.com>
Message-Id: <Pine.LNX.3.91.960917005003.270D-100000@VOTE-SMART.ORG>
I figured this out yesterday for my Linux system. Client sockets were
unable to connect to the FastCGI listener socket because the chmod in the
1.3 Module makes them read-only (Sr--------).
I changed line 854 in mod_fastcgi.c :
chmod(DStringValue(&ipcAddrPtr->bindPath), S_IRUSR);
To:
chmod(DStringValue(&ipcAddrPtr->bindPath), S_IRUSR|S_IWUSR);
and it then worked for me.
_________________________________________________________________
| Scott Langley | Project Vote Smart |
| Online Services Director | Hotline: 1-800-622-SMAR(T) |
| langles@vote-smart.org | WWW: http://www.vote-smart.org |
-----------------------------------------------------------------
On Mon, 16 Sep 1996, freeform wrote:
> just got FastCGI for apache_1.1.1 on Irix 5.3 complied tonight,
> and i'm having some permission problems
> when trying to run the test example echo.fcg
>
> i followed the given apache example to the tee
> as per the docs that were supplied with the mod_fastcgi.c mod,
> and everytime i try and access the example from my web browser,
> i get the following error:
>
> [Tue Sep 17 00:55:50 1996] access to /usr/local/etc/httpd/htdocs/fastcgi/examples/echo.fcg failed for soft.hotwired.com, reason: mod_fastcgi: Could not connect to application, OS error 'Permission denied'
>
>
> i then thought i might try running httpd as root, as the live server. :)
> and i got the same error.
>
> i see the unix pipes being made in /tmp
> and they have the perssions of:
>
> eros:bianca 51% pwd
> /tmp
> eros:bianca 52% ls -l
> total 0
> Sr-------- 1 bianca bianca 0 Sep 17 01:14 OM_WS_2.10378=
> Sr-------- 1 bianca bianca 0 Sep 17 01:15 OM_WS_2.11373=
> Sr-------- 1 bianca bianca 0 Sep 17 01:16 OM_WS_2.11714=
> Sr-------- 1 bianca bianca 0 Sep 17 01:17 OM_WS_2.11965=
> Sr-------- 1 root sys 0 Sep 17 00:57 OM_WS_2.28914=
> Sr-------- 1 bianca bianca 0 Sep 17 01:07 OM_WS_2.5826=
>
>
>
> so ahh,
> just what is happening here?
>
>
> thanks much.
>
> {freeform}
>