|
Posted by linda on 11/18/06 18:03
"Not here Not Now" <"Not here Not Now"@nospamnospam.com> wrote in message
news:A1H7h.211$_H5.23@tornado.texas.rr.com...
>I beleive I have discovered why I can not change the permission to 777
>becasue php scripts run as user nobody.
>
> so the solution would be to have "nobady create the directory with the
> permission of 777 while it runs.
Have you got it working?
> I have attempted to use FTP_MKDIR and FTP_CHMOD and this to fails
> resulting in a 755 permission.
>
> I do believe the reason some people dont help as they could not be
> bothered, I know some one knows the answere here and is having a real good
> laugh.
>
Not sure about that, it may just be that nobody can figure out why it's
happening!
Have you tried 666?
And another thing I remember reading somewhere is that chmod doesn't work in
safe mode, is safe mode on?
Best wishes,
Linda
>
> linda wrote:
>> "Not here Not Now" <"Not here Not Now"@nospamnospam.com> wrote in message
>> news:4lq7h.10$_H5.8@tornado.texas.rr.com...
>>
>>>I have tried still another way and I am still not able to create a
>>>directory with the 777
>>>
>>>$mkDIR = $username;
>>>mkdir($mkDIR);
>>>chmod($mkDIR, 0777);
>>>Directory is succesfuly made still with wrong permission
>>>
>>>can some one answer this question
>>>
>>
>>
>> Sorry don't know that much about php, still learning, but have read loads
>> though, lol... have you tried looking at php.net for an answer?
>>
>> http://uk.php.net/chmod
>> http://uk.php.net/manual/en/function.mkdir.php
>>
>> I'm sure i read some where that a directory sturcture leading to a
>> specified directory that you intend to chmod must have the same
>> permissions! But I maybe wrong....
>>
>> Best wishes,
>> Linda
[Back to original message]
|