Should I be embarrassed because I have no clue?

Just when you start to think you actually get to know your way around Linux a question pops up that makes you feel like the nitwit that you really are Should I be embarrassed because I have no clue?

Received this email from a customer. I am open for suggestions!

I do have a question. I'm using cache files for my website. The first visitor will force a php function to start, which create cache files. The second and later visitors will see this cached files, which makes the access to my site quicker.
I do have a problem with the following: the cache files are written into the /cache subdirectory. So the 'apache user' must have access to 'execute' the directory and to write into it. For now, I must make the cache directory executable, writeable and readeable for the world to make this possible (chmod 777). But then of course, the whole world can write data into this directory.

Is there a way to block others to write/read/execute files in this directory, but grant it for the 'apache/php user'?

 

 

 

 

Top