Translations of this page?:

For discussions on how to manage the files and directories where data gets stored

File permissions

It's generally not a good idea to have 777 permissions for the data. Those files and directories should instead have their owner set to whatever user apache is running as. It's easy enough to do that manually, but there are a number of problems:

  • If you cannot change ownership manually, there could be a script that could do it. Basically a do=install that is called once when setting up. Set 777 permissions for your home just long enough for apache to create the files
  • Cleaning up the attic, playground, etc. Now since the data is owned by apache, we need scripts to this job too …

SameerDS (17 Jan 2005)

 
wiki/discussion/managing_data.txt · Last modified: 2006/11/13 14:48 by andi
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate