In linux, pureftpd cannot modify existing files.

Source: Internet
Author: User
In linux, The pureftpd cannot modify the existing file-Linux Enterprise Application-Linux server application information. For more information, see the following. The server did not know Who configured the file. After asking a friend, he knew that the original file could not be modified, and the new directory could be modified. It is suspected that the file permission or the owner is incorrect. The problem is that we do not know much about linux commands. Find apache and check the configuration file under/usr/local/apache2/conf to see where the wwwroot directory is.

Then I went to the file and found the pureftpd configuration on the Internet with the group parameter. So I looked for the command and wanted to see the group in which the pureftpduser was located. The groups command I found was unavailable, I don't know if it has been modified.

So I simply went to the wwwroot directory to modify the file and directory owner. I found the chowd command.

Chowd-cR pureftpduser ./

-C is to modify the owner-R is to traverse all directories. pureftpduser is the modified owner name./is to start from the current directory.

At the beginning, I didn't specify./. I had to wait for a long time, but I couldn't do it. I had a bunch of directories left. What should I do. The result shows that you can specify the directory.

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.