I encourage you to create a file whatever.html and set it 701 and then
look at it with a browsing by connecting to your webserver.

http://server.com/~user/whatever.html will be displayed even though it is
701.  I've done it many times.

                        Adam

On 29 Aug 2002, Mateus Cordeiro Inssa wrote:

> Em Qui, 2002-08-29 ās 17:48, Adam Williams escreveu:
> > Apache can execute a file without reading it.  Don't believe me?  Make a
> > file 701 and then open it in apache.
>
>   Oh, yes, so can apache bypass the kernel ? I don't think so, unless it
> is running as root .... or the file gets owned by the same user apache
> runs.
>
>   The "x" bit means the O.S. will try to execute that file. Your
> argument it's like to say setting the "x" bit in .doc documents permit
> or not its reading.
>
>   The "x" could do something usefull to cgi's, they are really executed
> (by execve system call).
>
>


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to