> If the server runs as user "wwwrun" belonging to group "www" and all > my site's files belong to group "www" ... > then what should the settings be? Do my cake core files need to be > executable? Or do they just need to be readable?
Every process in unix runs as a user, so: Every PHP file used needs to be readable by the user who php is running as. Directories needs also to be executable, as execution permission for a directory means it can be accessed. For tmp (and every other directory you plan to write to) also needs write permissions for the user who php is running as. Every file served by the webserver (in webroot) needs to be readable for the user the webserver is running as, also directories need execution permission. Every file you plan to run in the shell (i.e. cakes console script) needs execution permission. HTH, - Dardo Sordi. > If the files are grp www and the server is group www, then do I need > to set any permissions for "others" or can I just set them at > something like 0750 or 0770? > > I had trouble finding this information in the manual, but if it is > there, point me to it. > > -Aran > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
