Re: Random permission strangeness
| From: | Chris | Date: | Thu, 09 Mar 2006 05:05:23 +0000 |
| Subject: | Re: Random permission strangeness | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231703@lists.php.net to get a copy of this message | ||
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/