Linux Mastering Development

Why is public read and execute required for my script to work?

I have a php page that executes as script. The script is run by the user www-data. The script is very simply and only copies some files and checks the size using du -h. It all works but only if I put chmod 775 on the directory. I do not understand why public needs access. […]