Monday, December 1, 2008

Re: Proper set up for cache directory

I'd agree with you - once your web user owns the tmp directory, you
should be good to go.

If you still have problems, you can chmod to change permissions just
for the owner, and not have to worry about any potential security
breaches by other users:

chmod -R o+w app/tmp

On Dec 1, 10:31 am, Stinkbug <justink...@gmail.com> wrote:
> Figured I'd post this here in case someone else is wondering too.  It
> appears that is the recommended solution.
>
> chown -R wwwrun.www app/tmp
>
> This is better than leaving permissions wide open.
>
> On Dec 1, 10:50 am, Stinkbug <justink...@gmail.com> wrote:
>
> > The Docs says:
>
> > "make sure the /app/tmp directory in your cake installation is
> > writable by the web server user."
>
> > On my server images and files have a user and group of wwwrun.www.  I
> > tried changing the cache directory to that user and group and it
> > works.
>
> > All of my other files are set up as root.data.
>
> > So my question is, what is the proper set up for the cache directory?
>
> > chmod 777 or some have said 775 works.
> > or
> > chown wwwrun.www
>
> > Or should the entire cake app be set up as wwwrun.www?
>
> > I ask because it's a little unclear to me what the securest option is.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: