Cakephp文件权限(Mac os)

时间:2017-08-06 03:44:48

标签: file cakephp permissions chmod

Filelog.php已经是chmod 777,但我仍然会收到以下错误。我该如何解决?谢谢....(Mac os)

 failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/oven-master/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php

-rwxrwxrwx  1 daemon  admin  3068 Jul 27 09:49 BaseLog.php
-rwxrwxrwx  1 daemon  admin  3088 Jul 27 09:49 ConsoleLog.php
-rwxrwxrwx  1 daemon  admin  6370 Jul 27 09:49 FileLog.php
-rwxrwxrwx  1 daemon  admin  4570 Jul 27 09:49 SyslogLog.php

1 个答案:

答案 0 :(得分:0)

您应该在logstmp这两个目录recursively中授予权限。

  

可能是那些目录可能不存在。然后你必须在cakephp root中创建然后授予权限recursively