Jump to content

php code can not read file from /var/tmp folder which is not created by apache


snehu

Recommended Posts

I am using apache web server on linux. I am using php for coding. My php code is not able to read the files from /var/tmp folder. If apache itself creates some files in /var/tmp folder then php code is able to read it. Why this permission denied issues are there though full access permissions are given to each file?

 

Why this permission denied issues are there though full access permissions are given to each file?

 

it could be possible if the directory or the previous directory when the file is deployed has a 0 permissions to others. So, we need to see the output of:

 

ls -la /var/tmp/the_name_of_the_file

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.