MacdeMacBook-Pro-2:gososo mac$ sudo chown -R daemon:daemon ./
MacdeMacBook-Pro-2:gososo mac$ ls
gososo.com new.gososo.comMacdeMacBook-Pro-2:gososo mac$ ll -alF
-bash: ll: command not found
MacdeMacBook-Pro-2:gososo mac$ ls -alF
total 32
drwxr-xr-x 6 daemon daemon 204 3 25 20:15 ./
drwxrwxrwx 33 root admin 1122 3 25 19:25 ../
-rwxr-xr-x@ 1 daemon daemon 12292 3 25 20:44 .DS_Store*
drwxr-xr-x 4 daemon daemon 136 3 25 21:33 .idea/
drwxr-xr-x 13 daemon daemon 442 3 25 19:25
test.com/MacdeMacBook-Pro-2:gososo mac$
httpd.conf
<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
#User daemon
#Group daemon
User daemon
Group daemon
</IfModule>
还是没有足够的权限mkdir()。哎呀呀