The Yii local project cannot be used normally when uploaded to LINUX

Source: Internet
Author: User
CFileLogRoute. logPath "/home/xxx/preview/protected/config/log/.../../log/2011/09/" doesnotpointtoavaliddirectory. make sure the directory exists and allow Webserverprocess to be written.

CFileLogRoute. logPath "/home/xxx/preview/protected/config/log /.. /.. /log/2011/09/"does not point to a valid directory. make sure the directory exists and allow Web server process to write data.

If you have encountered the same problem as me, please continue.

After uploading windows files to linux via ssh, the folder does not have the read/write permission by default. how can this problem be solved:

Delete all the files under the log, because we uploaded the 2011 folder and 09 folder.

If you are a newbie and want to be lazy, you can use the following methods:

Chmod-R + w/home/html/ff

It is not safe to do so only when you cannot find errors. if you operate a community, never do so and it will be easily hacked.

For more information about how to save LINUX server permissions and reference what my colleagues have said from linux to windows to linux

Windows does not support the Linux permission system at all, and the permission information is not retained during network download. To retain the permission information, first compress the compression software that supports the Linux permission system ...... In fact, just tar.

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.