Just a quick update, I updated my server settings on the symlink I was mounting to 777 permissions, not really sure if that is the ideal thing I want but for now that seems to work. Just posting this here just in case this resonates with someone in the future.
Yeah, I guess I don’t really need the readlink thing, I wasn’t sure if I needed it or not but basically I am using bedrock, trellis (vagrant) and I symlinked my theme for multiple sites that I develop on. I did troubleshoot some stuff last night after posting and did find it was failing on the permissions for the fopen command in json.php. So it must be how it gets mounted on my server that is keeping some permissions away. I thought maybe for some reason maybe you guys only check for real directories or something but even is_dir will recognize a symlink.
Just trying to bump for help with this.