我是靠谱客的博主 精明楼房,这篇文章主要介绍Drupal7 Note-2: chmod xxx settings.php,现在分享给大家,希望可以做个参考。

设置dupal的settings.php文件的rwx权限:

  • cp sites/default/default.settings.php sites/default/settings.php

        (copy default.settings.php to settings.php)

  • chmod 755 sites/default/settings.php

        (makes the settings.php writable by Drupal)

  • chmod 644 sites/default/settings.php

        (returns settings.php to the usual permissions for a .php file)

  • chmod 444 sites/default/settings.php

       (only read permissions are set on that file)


要将当前目录下名 title 的文件夹及其子文件的所有者改为geust组的su用户,方法如下:

  • chown -R su.geust title

             ( -R 递归式地改变指定目录及其下的所有子目录和文件的拥有者。)


最后

以上就是精明楼房最近收集整理的关于Drupal7 Note-2: chmod xxx settings.php的全部内容,更多相关Drupal7内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(77)

评论列表共有 0 条评论

立即
投稿
返回
顶部