On Sat, Dec 29, 2007 at 12:19:07PM +0000, Adam Bower wrote:
On Sat, Dec 29, 2007 at 10:39:44AM +0000, Chris G wrote:
That's OK until, as I said, you install something that wants to be root when installed and you get some stuff with root permissions again and you have to carefully set the permissions back to what you want (without opening them up too much).
What on earth are you installing into website directories that needs to be root? If you are using things that need root permissions in your web directories then you have more serious problems than worrying about some simple permissions on your html.
What user do you install things like phpmyadmin as, or Twiki?
Yes, but that *shouldn't* be necessary. The whole point of /var according to the standards is that there is *nothing* there that needs backing up. If something needs backing up it should be in /home or /srv (the 'right' place for web pages etc. is actually /srv).
According to which standards? The way I read the fhs is that it says the contents of /var should be backed up, or at least it would be prudent to do so given the data that it contains. If you disagree then I think you should read the fhs and a few books on basic sysadmin to see why.
I just did read FHS, where do you get the /var should be backed up from there?