[ALUG] Where to put HTML etc.?

Adam Bower adam at thebowery.co.uk
Sat Dec 29 12:19:07 GMT 2007


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.

> 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.

Adam
-- 
jabberid = quinophex at jabber.earth.li



More information about the main mailing list