[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: craetion of /srv/ftp or /home/ftp by a ftpserver.deb



shaul Karl wrote:
1) (/srv/) SRV DATA FOR SERVICES PROVIDED BY SYSTEM http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM  asserts that:

no program should rely on a specific subdirectory structure of /srv existing or data necessarily being stored in /srv

2) (/home/) HOME USER HOME DIRECTORIES http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES asserts that:

    no program should rely on this location.

Does that mean that an ftpServer.deb is not allowed to issue
    mkdir /srv/ftp
  or
    mkdir /home/ftp

?

My interpretation: programs should not hard code the path /home/ftp or /srv/ftp (i.e. should
be configurable).

An admin could use any directory (also with home made package).

For standard debian package, it is more tricky. I expect a question at configuration time,
and flexibility to use alternate "roots".

ciao
	cate





Reply to: