好了,所以我用下面的脚本,我得到在所有网站上出现以下错误那种搞砸我的几个网站:搞砸了文件权限在/ home目录GoDaddy的的cPanel
Forbidden
You don't have permission to access/on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
代码把所有东西搞砸了!
<?php
exec ("find/-type d -exec chmod 0750 {} +");
exec ("find/-type f -exec chmod 0644 {} +");
?>
你不能通过SSH登录? – bassxzero
是唯一的方法吗? –
如果是这样,这意味着我必须设置ssh,这可能需要一段时间,因为我从来没有使用它.. –