I need to mount a NAS share (via AFP) so that it can be read by Apache (which runs as user www), or, more precisely, by PHP (using opendir() and readdir().)

I had no luck with chmod ugo+rX /Volumes/myvolume, the permissions do not change. I can change the permissions of subfolders, but they're still not accesible to my PHP script, probably because the share itself still has drwx------.

How can I solve this? I'm mounting the volume in Finder - would mounting it via shell (as described in https://apple.stackexchange.com/a/121500/131060 ) help?

You must log in to answer this question.

Browse other questions tagged .