Re: Random permission strangeness
| From: | Chris | Date: | Thu, 09 Mar 2006 23:26:37 +0000 |
| Subject: | Re: Random permission strangeness | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231737@lists.php.net to get a copy of this message | ||
Paul Scott wrote:
On Thu, 2006-03-09 at 16:05 +1100, Chris wrote:<snip> If you leave your browser open for 20 mins or something and then try to log in, does that replicate it?What's the whole error message (ie context)? Is it coming from cron or randomly in your scripts?From Xdebug...Its random. I am just thinking though that what it *might* be is that the initial session is timing out between the app launch and the user logging in. I start the session beforehand, and simply add/delete from it as the user moves through the system. Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 967
Should be ok to leave it as it is. -- Postgresql & php tutorials http://www.designmagick.com/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?www-data, permissions are drwx-wx-wt owner root. Would it not be a little unsafe to change those permissions to anything less secure? I certainly wouldn't think it OK to chown to the webserver user...?