[EMAIL PROTECTED] wrote:

> 
> Thanks, Rob.
> 
> PS: Look up POSIX at php.net 

20080822 2025 GMT-6

Sorry about my misprint. It should be owner and group.

On the system Im working with php is run under Apache which is www-data. So 
when 
I upload a pic www-data is the owner.

But I found the problem. Well - not "the" problem but why its doing this. A 
note 
in the code says:

// Note: cant get the picts to delete. Work on later.

Ah! Who knows how old that is :) Just leave it for later. That was their answer.


Some of the older pictures are permission 644 in them main picture file but 
they 
were not deleted either. Rest are 600.

I doubt this script ever worked as this goes back at least four years and no 
pictures were deleted.

So to get around this, can I write a script that does something with the file 
once it is uploaded?

And Im reading posix now.

Wade

Reply via email to