标签:
下了个thinkPHP框架,初始化运行的时候提示我
./Application目录不可写,无法自动生成,于是ls -l查看了下权限
localhost:blog ya$ ls -l total 16 drwxr-xr-x@ 5 ya staff 170 6 26 13:22 Application drwxr-xr-x@ 4 ya staff 136 6 26 13:23 Public drwxr-xr-x@ 12 ya staff 408 6 26 11:20 ThinkPHP -rwxr-xr-x@ 1 ya staff 434 1 28 15:47 composer.json -rwxr-xr-x@ 1 ya staff 1034 1 28 15:47 index.php
由于是本地测试,先不管权限了,直接赋最高权限免得再报错
localhost:blog ya$ chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/blog localhost:blog ya$ ls -l total 16 drwxrwxrwx@ 5 ya staff 170 6 26 13:22 Application drwxrwxrwx@ 4 ya staff 136 6 26 13:23 Public drwxrwxrwx@ 12 ya staff 408 6 26 11:20 ThinkPHP -rwxrwxrwx@ 1 ya staff 434 1 28 15:47 composer.json -rwxrwxrwx@ 1 ya staff 1034 1 28 15:47 index.php localhost:blog ya$
标签:
原文地址:http://my.oschina.net/u/861926/blog/471135