I have an image downloader on my site ...
The image is uploaded to temporary folder 777 (this image works fine and can be deleted), I then copy this file to a new directory with copy(), the new file is written to folder 777, but cannot be deleted chmod(), it does not seem to help ...
Why copy()does the function create a new file somehow different than the original file? I do not see the differences in my FTP client. Both have perms 644 and user 'nobody / 99' - but this is only a problem for the second file.
Any ideas?
source
share