Re: Execute permission question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote:
> On Thu, Oct 27, 2011 at 18:15, Tedd Sperling <tedd.sperling@xxxxxxxxx> wrote:
>> That question begged the question of "What does execute mean?"
> 
>    It means "execute."  Not to be confused with what others are
> mentioning here, which is "read and interpret."  If you run something
> through PHP, Perl, Python, or another parser/interpreter, it doesn't
> need to be executable by the user, only readable.
> 
>    A caveat to this, of course, is that some scripts (such as those
> run via CGI) will usually need to be executable.  You may recall, back
> in the 90's, that any Perl scripts you'd upload to your cgi-bin needed
> to be chmod'd to 0755.
> 
> -- 
> </Daniel P. Brown>

One of the things I'm trying to understand is a php script can execute a shell command, right? Is there a way via permissions to prevent that -- or -- does that even have anything to do with it? That's where I'm fuzzy.

Cheers,

tedd

_____________________
tedd@xxxxxxxxxxxx
http://sperling.com
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux