Re: Failed to write to a text file (text file is RW) [message #171422 is a reply to message #171421] |
Sun, 02 January 2011 23:51 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 02/01/11 23:26, justaguy wrote:
> I still failed to write to the poll_result.txt file and I noticed
> there's a slight difference between this file's access attributes
> compared to a similar target text file with a similar script and
> process. The other target text file has rwxrwxrwx attributes while
> this one has rwrwrw attributes. I thought the global writable would
> suffice but it seems I was incorrect. My ftp client failed to do
> chmod 755 to the global x (execute) attribute to the file.
Shouldn't need execute access to write, can you check the logs and see
if there's a php error being recorded when you try and write the file?
Rgds
Denis McMahon
|
|
|