I often find that when I change something in the code (although I am unsure what, exactly), the permissions change in app/tmp and I get the same error as you. Also I get errors when cake baking. What I do is run:
sudo chmod -R a+rwx /var/www/cakephp/app/tmp (your path may be different, the important bit is /tmp) This sets the tmp folder to be fully readable, writable, and executable, and my problems go away. I've seen statements here to the effect that this is only an issue in development (but can't put my finger on one just now. Cheers, Paul. On 15 November 2011 09:41, bigjimmi <[email protected]> wrote: > Hi all, > > I'm being plagued with permission errors when trying to follow the ACL > 2.0 tutorial. > > I've made my tmp directory and all contents NOT read only. > > Warning (512): SplFileInfo::openFile(C:\wamp\www\CakeAclTest\app\tmp > \cache\models\cake_model_default_aros_acos) [splfileinfo.openfile]: > failed to open stream: Permission denied [CORE\Cake\Cache\Engine > \FileEngine.php, line 293] > > Please help. Thanks in advance. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
