I’ve just implemented oauth into a website and it’s working great, however it seems that when people login a temporary file is created. WHM keeps emailing me to tell me about this problem:
Time: Thu Dec 15 10:50:52 2011 +0000
File: /tmp/root/openid/consumer/assoc_handle_ecde01da0a6bbfaed7f04379150d3c9f
Reason: Suspicious symlink (->/tmp/root/openid/consumer/assoc_url_988e35039cce1819e501ae6e1217c786)
Owner: X:X (513:509)
Action: No action taken
Now, it’s fairly obvious this is a temp file. But two questions:
- Why is it needed to login people in? (purely for my knowledge)
- How can I get it out of that folder or ensure it doesn’t keep symlink’ing
The oauth is processed by Zend Framework’s library
Here is the reasoning behind the temp files, this is from the Zend OpenID Introduction:
Since it is optional, you can disable it by passing true as the second parameter to Zend_OpenId_Consumer to put it in “dumb mode” where it :
Here are the caveats of dumb mode:
You can control the location of the cache files as well to avoid the whm warnings.