On Fri, Dec 28, 2007 at 11:58:08PM +0000, Adam Bower wrote:
On Fri, Dec 28, 2007 at 04:12:03PM +0000, Chris G wrote:
Messier with permissions if you want to edit HTML without becoming root all the time. Also not so convenient for editing even with permissions set up OK as it's not in your home directory.
This is what groups were invented for.
Yes, and what group do you use? I couldn't come up with any sensible group to make things work as I wanted, apache/httpd runs as 'nobody' which makes things a little difficult.
Not really practical for multi-user but this doesn't apply for me.
Why not? I have sysadmined machines with well over 100 seperate sites under /var I'd just setup each directory with the permissions for the correct owner and leave them to get one with it.
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).
Need to back up separately from /home (though I suppose you could make /var/html a link across to the /home partition)
That won't matter as you are already backing /var up aren't you?
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).