"public/index.php" 可以在 Laravel 中按组写入

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37700821/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 13:57:42  来源:igfitidea点击:

"public/index.php" is writeable by group, in laravel

phplaravel

提问by Believe It or Not

I am getting this error after uploading all changes in live

实时上传所有更改后,我收到此错误

[error] [client XX.XX.XX.XX] SoftException in Application.cpp:254: File "/root_path/public/index.php" is writeable by group

[错误] [客户端 XX.XX.XX.XX] Application.cpp:254 中的 SoftException: 文件“/root_path/public/index.php”可按组写入

What this error means and how can I fix this.

这个错误意味着什么,我该如何解决这个问题。

Thanks

谢谢

回答by GONG

Change the file permissions from '0664' to '0644'

将文件权限从“0664”更改为“0644”