The attribute of the image file uploaded by move_uploaded_file is 600, which cannot be accessed. please advise. The problem is as follows. Another strange phenomenon is that this problem occurs on the new server. I am normal on the original server. you can change the attribute to 644 directly, but here it is 600, if you have encountered this problem, give me some advice. ------ Solution ------------------ if you rent someone else's server, you need to enable the image file attribute uploaded by move_uploaded_file to be 600, which is inaccessible.
The problem is as follows.
Another strange phenomenon is that this problem occurs on the new server. I am normal on the original server. you can change the attribute to 644 directly, but here it is 600, if you have encountered this problem, give me some advice.
------ Solution --------------------
If you want to rent someone else's server, you need to have the permissions granted to the owner so that you can change the file permissions.
------ Solution --------------------
It may be about server settings.
------ Solution --------------------
Permission