Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8162875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:52:38+00:00 2026-06-06T18:52:38+00:00

It has always baffled me that if a folder has read and write permissions,

  • 0

It has always baffled me that if a folder has read and write permissions, Apache + PHP can’t write to it. You have to end giving apache execution permissions to be able to write a file in that folder. Why?

For example with chmod 664 (where the build group includes the apache user) apache won’t be able to write a temporary cache file in this folder:

drw-rw-r--  5 jenkins build 4096 Jun 15 13:05 cache

while with chmod 774 apache will be able to write a new file to the folder:

drwxrwxr--  5 jenkins build 4096 Jun 29 11:44 cache
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T18:52:40+00:00Added an answer on June 6, 2026 at 6:52 pm

    You need execute permission to conceptually enter a directory (cd into it, list files within, etc.). It would have been clearer if they called this bit something else for directories. This article recommends thinking of it as the “search” permission on directories.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is something that has always bothered me about PHP and I have never
There has always been a confusion with preg_match in php. I have a string
I have a bunch of static content on a site that has always lived
One thing that has always bugged me is that when checking my PHP scripts
I have a web application that I'm working on that has always been in
I have a .NET 3.5 application that has always run on x86 (XP). I
It has always struck me as strange that the C function fopen() takes a
It has always seemed strange to me that random.randint(a, b) would return an integer
I have a C program which has always used hard coded define statements for
I'm running an Excel macro that calls a LISP script, which has always worked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.