Re: Random permission strangeness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Scott wrote:
I am pretty much randomly getting the following error:

.. ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission
denied (13) in .......

As far as I can see the session write directory has no problems with
permissions. The *really* strange thing is that it only fails at certain
times, and nothing really reproduceable.

I am using:

PHP Version 5.1.2 on Apache2 Debian GNU/Linux amd64 stock kernel on
Opteron processors.

What's the whole error message (ie context)? Is it coming from cron or randomly in your scripts?

My first guess is garbage collection..

What are the permissions on that folder? If it's randomly in your scripts, which user is your webserver running as?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux