by Nobbie » 26. October 2017 09:23
If i get it right, the contao installation scipt runs a test with self-created folders and files and checks the ownership. It expects "root" as ownership. There is only one way to achieve this, run Apache with root permissions. Edit httpd.conf and look for "User daemon" and replace it by "User root" (or whatever the root account is in an OSX environment). Then restart Apache.
BUT: this is very very unlikely and in a real server environment it would be HUGE security risk.If any PHP script is infected by trojans (like many WordPress plugins are!), the attacker runs his attack with root permissions - what a horror!! Therefore i really cannot understand, why contao needs to create files and folders with ownership root. That is extremely weird and you definately should ask contao if this is really what the want?! Of course, in your private LAN and on your private Mac there is no risk, but probably contao also runs on public servers and i cannot believe that there is any provider which runs Apache with root permissions. Thats a pain!
Last not least, that might be an issue of the installer, which probably is designed to run in a linux environment only and is not yet tested in an OSX environment. Again, ask contao for support on that. Finally, that step is only a check, maybe contao installs well anyway. Or does it fail? If it does not fail, simply ignore that message.