@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
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.

Reply via email to