, just installed the Yii2.0 framework, but with Phpstorm open after the discovery of all directories/files have a small lock, and then read the permissions of the directory, only the root has the ability to modify, then I would like to ask: if I use other account development situation, how can I edit all the files normally? Don't change the permissions of the entire framework directory? (Linux Rookie)
Reply content:
, just installed the Yii2.0 framework, but with Phpstorm open after the discovery of all directories/files have a small lock, and then read the permissions of the directory, only the root has the ability to modify, then I would like to ask: if I use other account development situation, how can I edit all the files normally? Don't change the permissions of the entire framework directory? (Linux Rookie)
You use sudo
the installation, the yii
framework can not root
be installed
To change the owner, you can:
sudo chown -r 用户名:组名 目录
The final solution is as follows:
修改框架目录所有者:chown -R codean yii修改框架目录用户组:chgrp -R codean yii
Where "Yii" represents the Framework directory.