Linux下ThinkPHP网站目录权限设置

时间:2023-02-01 17:23:43

在windows上运行好好的项目,迁移到Linux上就遇到了很多问题,其中最为重要的是网站目录权限的设置,当然简单期间你可以用 命令

"chmod 777 -R you web site" ,这样你就不用担心项目运行的时候会涉及到权限问题。通常来说如果你的项目时部署在公网或者是部

署在租用的Linux服务器上不建议这么做,应为如果这样设置了那么任何用户都可以对这个站点下的文件,目录进行操作,这样也会影响网站的运营,

同样不安全。下面以ubuntu14.4 系统为主进行分析。

最简单的做法如下,这里不建议这么做(例如你的网站部署目录为/var/www/html):

chmod  -R /var/www/html/demo

在ubuntu 安装完apache 之后,默认会往系统中增加www-data 用户 和 www-data 用户组,同样你可以用 ps -ef | grep apache 查看 apache 进程,你会发现apache的

主进程是用root用户启动的,那么子线程的用户都是 www-data 这个用户。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAowAAADZCAIAAAAljfbsAAAgAElEQVR4nO19Qag1y3FeQWICMbHAd2GS2FicRSDHJDnk7X6OMWTlm7MLvJCVd7kwS2eZjb0ZyOr5X2SjOIsMCOMg68mb3OfwJ5aMsSTLUmzpSc8KN0ayn6TwLAvZipXEDvhmMWfmVFVXVfdM95zpOX99DD//PT1d09Wnp7+u6j5V8Fu/+zW//PLLL7/88qvCC1ZvgV9++eWXX375JV5O0n755ZdffvlV6cVJGhyz8OMAPwvwNsDbAL8I8DbAOwC/DvA2wD8v95QjwPPy10fKNfiG8crhuDrWHvWONeAknY+fAfirGPO9B/DrAG8B/BzAzwG8BfAI8DbAT0950H+6Ckk/AxyX6qoF8QLgHYAngC8BvAfwHsAXAT4J8En0iXF9EeAdgJ8F+PG0x609XTteRyz7CjnqhJN0Jj4M8P/yGPF7f+tD7/3DH/5HCc/6g2uRdM2TwQuAjwP8FsA7iH2/U1T9//B3+EP3Tdc1e/zJ2tO143XE9V4zRz1IIekXAB8BeBvg37z4F7/50Y++6porNzIRPw3wcYBfB3gH4B3FhMLW1RcBPve3/96fvPHGt3/ix94Zar2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hZfKIGl8q3RXWv+F+aS5U1pP9rxoPundUbDUyeZ0EkzuGGR2zfnGadN7rIfzmMUadfP3pPsxtm+6rhl9OWShMbt0onp0ZAdf0wSSjtVNgUrSge+dO+WUYRXbk2ZYYvcr5dvBz41oZPZGFlbaC1gctl45Wm9R8iBArhAhaf6Wi3RntMQyWHXJ4lsZfqaTNHmkWFFpFfFIs0PXYoINyqZq3Ycj92ATGCTNvOhilkxQHQa5GOemGfOCPXLymMUadRkHx05t1/Sjqv+X7jLllBqwLelgOTLBkk6oO7OBrJHDB2ozgoNj9AO7rxYg6ZT501hmpjg/CpF0wnS2Tdh65Wi9RclgjbcoSXM5ymbM1OeakrMtabuvtFbtHtlmcGhJc/t1NHMjdQtb0gynwme6LxiWM9k+tnS+SLqzBEl/9Vv46j9surbrh0u/5cLfjfmlBtiasV8YIZIOLLaQpC/3YJMuoW4KtM6mC0N9OS46h6mnALWKO4SWGNyBZ1K6w57XxF32lN6YDDLN3YgdDRDTK661tnNcs2QdljnLt1pI28KKoSSjLcZzbcnnPWl6mGbKnrRF0qYZjemQbhuPP2hGPI1s60hduDs8oW3mQRoyl1WSBtgdmd2MHe98TptnLGkgR6MmzJXxkZPHLBGSliVTiCSNl4ehwjmlNojvoGvIqSXqV2ib4ERTcDhckSvXVSF5eCWflOpkA7zFG85nr5Qi3uzypKQtOc02hfeIPG31xmxYD90ybL0iWutUWq9kFREraE/l4rOl4WvKD5UFxYnPNSSPKwVt5rF2Ui9lfQ3+d6Q3dsdndgAbnabuKZkctMbcadYFCBzXQ110qPtilLPT4/jgN3uuOJMq6k3DHh/+nzj/2CMnvCedWWKjzpSMIZK0w+FwXBkpx5hv6bk2clol7kk7tgonaYfD4bglOEnfFJykHQ6H42ZAvNxCoBLHxvD/AScVeOE0Zi/FAAAAAElFTkSuQmCC" alt="" />

这样你就可以理解为这个apache服务器运行的用户和用户组是www-data,假设网站的用户为demo,项目的目录为/var/www/html/demo

接下来就分几个步骤来设置(用root用户执行下面的命令):

1.首先把网站的的目录和文件的所有者设置为demo,所属组设置为www-data ,对与Linux命令不熟悉的,可以到网上查询。

chown -R demo:www-data /var/www/html/demo

2.设置网站目录权限为750,750是demo这个用户对目录拥有读写执行的权限,这样demo用户可以在任何目录下创建文件,用户组有有读执行权限,这样就有进入目录的权限,其它用户没有任何权限。

chmod  /var/www/html/demo
cd /var/www/html/demo
find -type d -exec chmod {} \;

3.设置网站文件权限为640,640指只有demo用户对网站文件有更改的权限,apache服务器只有读取文件的权限,无法更改文件,其它用户无任何权限。

find -not -type d -exec chmod  {} \;

4.需要针对个别目录来设置权限,以Thinkphp为例,它的Runtime 目录存储的有日志文件,还有与数据库做ORM映射的数据库表信息,这说明apache服务器要对这些目录

有访问的权限,并且对于线面的日志文件有写入的权限,那么这样就需要对于这些特殊目录设置。

cd /var/www/html/demo
find . -name "Runtime" -type d -exec chmod -R {} \;

执行上面的命令请注意 “{}”与 “\”之间是有空格的,上面的-R参数是递归给Runtime 目录下面的目录和文件赋予 770 权限,当然了你会说日志文件是不需要执行权限的,

不过这里没关系,当你把日志文件删除掉之后,生成出来的文件是没执行权限的。因为当你把日志文件删除掉之后,那么生成日志文件的的用户和所有者都是www-data,

所以新的日志文件权限就会变成下面这样:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfkAAAAZCAIAAAC958CFAAAGXElEQVR4nO2dvWubRxzHH0mDk4hIsXGd2LHa2LGd9uniBNpC6VDI1DxDCR2Mh4DToeWhg8fQrVAe6JKt3frCLR1CZxFQoBSa0KlqISAyNC4UNNn9F9ThpPO9vz139SPp9+EW6e5+96LT9/ndPffckzztH0GAAAEChNkOydP+UUJIc9SjQLnwdZElSZJkxWmSVJqV5GVSu8eyVSOlsYxNyGJjtIhPK8mbFWxZuBBVe0ktFNHELFcjsa/YOlOlGsvlMzN5xzG4LCoZ0166ujhJkeHkKE+5BIrfkCnU2BuGWCaNODayQjWcHGtV5FRrzePZUG6aI5I+R3zSErHKcm3+C2yyyfdswvGnIjsdL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