OSX-the Php+apache environment under Mac OS x system failed to delete files

Source: Internet
Author: User
Just started using the Mac Ox system to set up the apache+php environment. The program uses the unlink and fopen methods to prompt for no permissions when manipulating files. After you use the command chmod-r 755 system/cache The file you want to manipulate is set to-rwxr-xr-x, you are still prompted to deny access. What is the correct approach?

——————————————————————
Using the command chmod-r 777 System/cache seems to have solved ...

Reply content:

Just started using the Mac Ox system to set up the apache+php environment. The program uses the unlink and fopen methods to prompt for no permissions when manipulating files. After you use the command chmod-r 755 system/cache The file you want to manipulate is set to-rwxr-xr-x, you are still prompted to deny access. What is the correct approach?

——————————————————————
Using the command chmod-r 777 System/cache seems to have solved ...

Chown-r _web./system/cachechmod-r 755./system/cache
  • 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.