hi,
I'm thinking about doing universal authentication system for my new
project (and afterward projects) based on good old unix style chmod
(like 0777 aso) read, write, execute but it's not always useful to
develop a new bicycle so anyone have done this allready or have any
idea
afaik, the cache goes in tmp too... so if you use caching, your view
code is pulled out of the tmp/cache/ directory
correct me if i'm wrong ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To
On Nov 14, 4:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 666 would disable execute rights,
I'm not a habitual linux user (although I just bought a new dev
machine, so let's see), thanks for clarifying what that would do to a
folder.
So: If you have access to modify php to run as a di
riu/cake/basics.php on line 843
>
> Warning:
> file_put_contents(/home/andriu/beta/tmp/cache/models/default_files)
> [function.file-put-contents]: failed to open stream: Permission denied
> in /home/andriu/cake/basics.php on line 843
>
> witch folders in cake must have chmod
On Nov 14, 4:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> afaik, the cache goes in tmp too... so if you use caching, your view
> code is pulled out of the tmp/cache/ directory
>
> correct me if i'm wrong ;-)
:
The trouble is...
If you are using a shared host, then php is probably runni
Chris Hartjes wrote:
> You should do a recursive chmod on the tmp directory
>
> chmod -R 777 tmp/
>
> and that will fix the problem. Everything in tmp should be 777 in my opinion.
>
>
> --
> Chris Hartjes
>
Imo, you should give read, write and execute (for direct
>
> 777 means that anyone who has an account on the system can change these
> files, changing the content of your website!!
>
True, but if you only give it to the tmp directory in your Cake
install, they can't really do much to change the content of your
website.
--
Chris Hartjes
"The greatest
/default_files)
[function.file-put-contents]: failed to open stream: Permission denied
in /home/andriu/cake/basics.php on line 843
witch folders in cake must have chmod 777 except for tmp ?
--~--~-~--~~~---~--~~
You received this message because you are
666 would disable execute rights, for files that's okay, but not for
directories. no-one (except root) would be able to go "into"
directories (by definition)
also there aren't really files in there that one would like to execute
i think ;-) (unless someone with write access puts em there himself)