http access to external usb drive
I’m working on this problem too.
The problem likely stems from SIP (System Integrity Protection).
SIP ‘protects’ /System/Volumes/Data which is a partition of the first internal drive.
All USB drives are auto mounted to /Volumes which is rooted at … /System/Volume/Data.
Apache (mod-mpm I think), requires execute permissions on every directory from Target-Directory back up to root (I’ve seen this assertion in several threads, but do not know it to be a fact). if this is the case, then it explains why you can follow symlinks in terminal bur Apache refuses to create directory listings.
In troubleshooting the problem, I’ve mounted the USB drive manually into /Users (which is not SIP controlled), where it worked, but will not survive a reboot. I don’t want to create a script to remount the drive after reboot unless its the only solution.
If anyone has a solution to this problem, that doesn’t break SIP or TCC, I’m all ears! Ideally (if my analysis is correct), it will be a tweak to httpd.conf or to one of the Apache security modules.
Mac mini, macOS 12.6