Image save doesn't work with chmod 755, but does with 777. What should I do?
问题 I have a website where users can crop images. I usually save cropped images under a folder with "755" chmod parameters. However, when it is 755, it doesn't work - It works when I chmod to 777 and I believe 777 is very insecure so I don't want to use it. What could be wrong? Ps. The system works like this. There are some pictures in server, PHP allows user to crop those images and when they click save, it should be saved on /cropped" folder. It works with 777 but not with 755. 回答1: File