[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory structure
On Fri, 3 Mar 2000, Michael Richard wrote:
> There's some things in the OpenBSD directory structure that I don't like and consider to change. Here they are:
> /var/named/ -> /etc/named (this one seems to work fine)
> /var/spool/ftp -> /home/ftp (works fine too)
> /var/www -> /etc/www (for configuration files)
> /home/www (for htdocs, icons and cgi-bin)
> /var/www (for log files)
There are real reasons for each of these. The distribution was not just
slapped together. named and www is in /var. kept to gether so that it can
easily be chrooted, if your not running named chrooted. DO SO!. The layout
from the begining was very well thought thru.
> I don't think that the ftp directory's changing anything, but I'm not sure about
> named because it runs chrooted, and I don't know if httpd runs chrooted too, so
> I'd like to know if it's possible to split it like I wanna do.
> I know it may seems stupid to do this, but I'd like to have all configuration
> files in /etc and all user files (considering www and ftp as users) in /home.
> Thanx for your help...