On my site (hosted on a shared host) there is index.php file which has permissions set to 600. As far as I understand, it means that only the owner of the file can read and write the file. ls -l shows that I am the owner of the file and I belong to "users" group.
The question is: how come that it is possible to navigate to this site from a web browser ? I know that the apache process is run under "www" username and that this username belongs to "users" group.
Maybe there is some trick in it.. but if the index.php file has no read nor execute permission for group and for others, then how can "www" user read it?
I am sure that Apache reads this file and not some other file, because for test purposes I renamed index.php to other name and then the site was unreachable.