apparantly it should be the apache user.
The default mask value '0664' was intentional because of security issues.
Try 'sudo -u {apache-user} cake {shellname} {command}' or set the
default mask in core.php __before__ you use the shell.
This way you won't get any warnings at all.
Kind regards
Thomas
On 20.02.2012 16:19, Lucho Molina wrote:
> I'm with you @huoxito. This seems to be an issue introduced in 2.0 as
> I never had it on 1.3.
>
> Anyway, I tried the 'mask' => 0666 solution but didn't work. I'm also
> running shell scripts on a cron, so every time it ran, the
> persmissions were changed. So my temporary solution was to add the
> Apache user to the same group as the CLI user. Now this is my local
> environment, I'm not sure this will be good to implement in production.
> --
> 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
> cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment