On 28 Oct 2011 at 16:01, Tedd Sperling wrote:
> On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
> But does having execute permissions set on a script affect the scripts ability
> to run shell commands?
No, as Dan has said. But if you have a file called wiggy, containing the
following:
#!
On Oct 28, 2011, at 11:07 AM, Daniel Brown wrote:
> On Fri, Oct 28, 2011 at 11:01, Tedd Sperling wrote:
>>
>> But does having execute permissions set on a script affect the scripts
>> ability to run shell commands?
>
>Negative. It won't inherit permissions, though one might expect
> that
On Fri, Oct 28, 2011 at 11:01, Tedd Sperling wrote:
>
> But does having execute permissions set on a script affect the scripts
> ability to run shell commands?
Negative. It won't inherit permissions, though one might expect
that to make sense.
> For example, if I have a script that contain
On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
> On Thu, Oct 27, 2011 at 19:44, Tedd Sperling wrote:
>>
>> 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
On Oct 28, 2011, at 7:19 AM, Geoff Shang wrote:
> On Thu, 27 Oct 2011, Tedd Sperling wrote:
>
>> You answered a question I wasn't prepared to ask, which was "How can php
>> scripts be executed when their execute permissions aren't set?"
>
> Because as far as the system is concerned, the thing w
On Thu, 27 Oct 2011, Tedd Sperling wrote:
You answered a question I wasn't prepared to ask, which was "How can php
scripts be executed when their execute permissions aren't set?"
Because as far as the system is concerned, the thing which is being
executed is either PHP itself or something in
On Thu, Oct 27, 2011 at 19:44, Tedd Sperling wrote:
>
> 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.
Sure. What
On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote:
> On Thu, Oct 27, 2011 at 18:15, Tedd Sperling 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 ru
On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote:
> On Thu, Oct 27, 2011 at 18:15, Tedd Sperling wrote:
>>
>> Ash:
>>
>> You answered a question I wasn't prepared to ask, which was "How can php
>> scripts be executed when their execute permissions aren't set?"
>>
>> That question begged the qu
On Thu, Oct 27, 2011 at 18:15, Tedd Sperling wrote:
>
> Ash:
>
> You answered a question I wasn't prepared to ask, which was "How can php
> scripts be executed when their execute permissions aren't set?"
>
> That question begged the question of "What does execute mean?"
It means "execute."
On Oct 27, 2011, at 4:51 PM, Ashley Sheridan wrote:
> Yes, I just ran a quick test PHP script without any execute permissions set
> at all, only rw-rw-r-- and it ran just fine, suggesting it is just an
> argument as Larry said.
>
> I don't think Apache needs execute permissions set on PHP files
On Thu, 2011-10-27 at 14:41 -0600, Larry Martell wrote:
> On Thu, Oct 27, 2011 at 2:26 PM, Tedd Sperling
> wrote:
> > Hi gang:
> >
> > Another question -- in the context of file permissions (rwx) is the execute
> > permission limited to shell commands -- Or -- is there more?
>
> Not sure I ful
On Thu, Oct 27, 2011 at 2:26 PM, Tedd Sperling wrote:
> Hi gang:
>
> Another question -- in the context of file permissions (rwx) is the execute
> permission limited to shell commands -- Or -- is there more?
Not sure I fully understand your question, but to execute anything
directly - shell scri
Hi gang:
Another question -- in the context of file permissions (rwx) is the execute
permission limited to shell commands -- Or -- is there more?
Cheers,
tedd
_
t...@sperling.com
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
14 matches
Mail list logo