I had a folder under
~/Sites, let's call it
Foo, from which I was sharing a Wordpress site-in-development via Apache. This was working fine, I'd mapped
127.0.0.1 in my hosts file and was accessing the site from there on my laptop.
Then, I tried to access the site from my iPhone. I was able to see the root index of
~/Sites from the phone by surfing to
my-computers-hostname.local, but couldn't access the Wordpress site, as it had been set up to believe its address was
foo.local, and therefore had hardcoded references to that URL in its database. When I attempted to change its URL setting to
my-computers-hostname.local, something very strange happened: I received an authorization error when attempting to save the change. From that point forward, the entire folder containing the Wordpress site disappeared from the index page at
my-computers-hostname.local, and any attempts to access it by URL were met with a 403 - Authorization Refused error from the webserver.
Listing the folder in question in the Terminal showed me that the
com.apple.quarantine extended attribute had been applied to it and to all files contained within. What would cause the operating system to quarantine the folder? Was it the attempted access from another machine, or something to do with Wordpress's configuration?