Home  >  Article  >  Backend Development  >  Centos dedeCMS directory permissions

Centos dedeCMS directory permissions

WBOY
WBOYOriginal
2016-07-25 08:44:011227browse
1. First set the owner of the website directory to the user
cd Directory
chown -R User root directory
find root directory -type d -exec chmod 750 {} ;
find root directory -not -type d -exec chmod 640 {} ;
2. Data, templets, uploads, and a images directories
Set read and write permissions:
cd root directory
chmod -R 770 data templets uploads a images
  1. find root directory -type d -exec chmod 750 {} ;
  2. find root directory -not -type d -exec chmod 640 {} ;
Copy code
Centos, dedeCMS


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn