1
konakona OP 再问一下,mac下如何查看当前用户或某一指定用户的组?=..= 不会用mac...
|
2
konakona OP MacdeMacBook-Pro-2:gososo mac$ sudo chown -R daemon:daemon ./
MacdeMacBook-Pro-2:gososo mac$ ls gososo.com new.gososo.com MacdeMacBook-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()。哎呀呀 |
3
konakona OP 哭了...在我无数次chown 和chmod ,经过各种高端复杂的工作后,莫名其妙的好了...
|
4
xuxu 2014-03-25 23:11:48 +08:00
httpd.conf里面
User daemon Group daemon 实在不行 写个文件看看不就知道了 |