in reply to Re: Confusion opening a file
in thread Confusion opening a file
then/path/to/read_file.html
I think(?) the directories need to grant 'execute' privs to enable descending into those directories. On my system I tried this with 'root' owner and 'root' group owning all files and directorys under /path - so to allow webserver user "nobody" to be able to read /path/to/read_file.html, I had to dodirectory 'path' needs to grant read and execute privs to the webserver user, and directory 'to' needs to grant read and execute privs to the webserver user, and file read_file.html needs to grant read privs to the webserver user.
HTH.chmod o+rx /path chmod o+rx /path/to chmod o+r /path/to/read_file.html
|
|---|