Bug 23174 - /srv/ftp/ could be a better place than /var/ftp/
Summary: /srv/ftp/ could be a better place than /var/ftp/
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: anonftp (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 9402
  Show dependency tree
 
Reported: 2010-03-18 00:51 MSK by Ivan Zakharyaschev
Modified: 2010-03-19 03:36 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2010-03-18 00:51:26 MSK
anonftp-3.2-alt1

First, /srv/ftp/ is more compliant with FHS, which in its turn provides a justification for having a common directory for the served data -- http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM .


For one thing, using /srv/--a single parent directory to keep the data of one type--would make possible a gross simple configuration of the corresponding mountpoint; the configuration of the /var/ftp/ mountpoint is something discussed in https://bugzilla.altlinux.org/show_bug.cgi?id=9402#c6 , but a distinguished configuration for ftp could be a too fine-grained, inconvenient thing in many cases, as opposed to selecting a storage for all the served data (+ www, etc.) at once.

I have looked a little at Google search results, and they show that some other distros use /srv/ftp/ by default, e.g.:

http://en.opensuse.org/FTP_Server_HOWTO#Quick_Setup
https://help.ubuntu.com/9.04/serverguide/C/ftp-server.html#vsftpd-anonymous-configuration

and some don't want to make the transition:

http://bugs.gentoo.org/78934