File permissions modified to 777 text

Source: Internet
Author: User
Tags file permissions

When we are ready to execute the installation script, we need to modify some of the folder permissions, such as installation and upgrade discuz! You need to modify the file permissions for./attachments,./forumdata/*,./templates/*, other products, and many users don't quite understand how to modify it: Linux servers, Windows servers.

  First, Linux servers (demo with a virtual host for example)

Simply modify the directory properties of the required file permissions to be 777, as follows:

Open the file on the virtual host with the FTP tool, select the folders and files you want to modify => right => properties

Change the number in the permission entry to "777" to be sure (if your account has permission to modify the file's properties)

Note: If some files require 777 permissions for their subfolders, then you also need to select Apply changes to all subfolders and files.

 The second type, Windows server

Windows Server only needs to give the appropriate file IIS Guest account read-write properties, note that the Windows Server must modify permissions on the server, Windows Virtual host users do not modify permissions, the following methods:

Select the folders and files you want to modify => right-=> Properties => Security

Click the "Add" button to get an interface as shown in the following illustration:

Click the "Advanced" button to get the interface shown in the following illustration:

Click the "Find Now" button to get an interface as shown in the following illustration:

Find the user who starts with "IUSR_" from "Search results" and click "OK" to get an interface as shown in the following figure:

Then click the OK button to get the interface shown in the following figure:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.