Hi Paul, The 777 indeed the quick fix of doing it :(
try the official: http://book.cakephp.org/2.0/en/installation.html#permissions <http://book.cakephp.org/2.0/en/installation.html#permissions> or https://www.google.com/#q=cakephp+tmp+777 <https://www.google.com/#q=cakephp+tmp+777> Andras > On Jun 10, 2015, at 4:01 AM, phpMagpie <[email protected]> wrote: > > @Andras: You should avoid using 777 as that gives read/write/execute access > to the world, which is a major security concern. > > Further information on this: > > When a web page loads, any files written/updated within tmp folders are given > apache:apache (user:group) access. > > When a cronjob runs, any files written/updated within tmp folders are given > user:user (user:group) access. > > If apache cannot read/write from these files it can cause Fatal PHP errors > and web pages fail to load > > If user cannot read/write from these files it can cause Fatal PHP errors > which cause cronjobs not to run > > How do I create a setup where apache and user cronjobs can run and update tmp > files without breaking everything? > > Thanks, Paul. > > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > <https://www.facebook.com/CakePHP> > Find us on Twitter http://twitter.com/CakePHP <http://twitter.com/CakePHP> > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/cake-php > <http://groups.google.com/group/cake-php>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
