Centos dedeCMS directory permissions

WBOY
Release: 2016-07-25 08:44:01
Original
1202 people have browsed it
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


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template