vsftpd installs and creates /home/ftp but installer says not

Bug #272084 reported by Philip Wyett
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vsftpd (Ubuntu)
Fix Released
Low
Adrien Cunin

Bug Description

Binary package hint: vsftpd

When installing vsftpd via 'sudo apt-get install vsftpd' you see the following lines in the output that would indicate the directory '/home/ftp' is not being created but in fact is.

Setting up vsftpd (2.0.6-1ubuntu1) ...
Adding system user `ftp' (UID 106) ...
Adding new user `ftp' (UID 106) with group `nogroup' ...
Not creating home directory `/home/ftp'. <<------ See this line.
 * Starting FTP server: vsftpd [ OK ]

This could prove very confusing to the novice.

Related branches

Philip Wyett (philwyett)
description: updated
Revision history for this message
Philip Wyett (philwyett) wrote :

Also present running 8.10 beta 1

Revision history for this message
R1dO (r-den-ouden) wrote :

Same problem here on 8.10.

However i would like to note that the readme file at:
"/usr/share/doc/vsftpd/README.Debian", lines 16-18

=>
Anonymous FTP by default uses the home diretory and privileges of the "ftp"
user for its root directory. Installing the vsftpd package for the first
time will create this user.
<=

hints that creation of this directory is intended behavior.
(removing the directory "/home/ftp" breaks the ftp).

So probably an reporting error in the apt package.

Adrien Cunin (adri2000)
Changed in vsftpd (Ubuntu):
assignee: nobody → Adrien Cunin (adri2000)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.9 KiB)

This bug was fixed in the package vsftpd - 2.1.1~pre1-2ubuntu1

---------------
vsftpd (2.1.1~pre1-2ubuntu1) karmic; urgency=low

  * Merge from Debian unstable. Remaining changes:
     - Use LSB functions in the init script
     - Use snakeoil SSL certificate and key
     - Do not create rc.d stop symlinks
     - Add update-inetd dependency
  * Dropped postinst change removing rc.d stop symlinks, was only useful for
    edgy and hardy upgrades
  * This upload includes changes closing a few bugs:
     - New upstream release (LP: #333478)
     - Call adduser with --quiet in postinst (LP: #272084)
     - Extend username length limit (LP: #343738)

vsftpd (2.1.1~pre1-2) unstable; urgency=medium

  * Correcting wrong charset definition in Galizian debconf translations
    (Closes: #524251).
  * Adding patch to not hardcode libcap soname (Closes: #526792).

vsftpd (2.1.1~pre1-1) unstable; urgency=low

  * Adding French debconf translations from Steve Petruzzello <email address hidden>
    (Closes: #522736).
  * Merging upstream version 2.1.1~pre1.
  * Applying patch from debian-l10n-english to improve debconf templates
    (Closes: #520592).
  * Adding updated German debconf translations from Helge Kreutzmann
    <email address hidden> (Closes: #522958).
  * Adding updated Swedish debconf translations from Martin Bagge
    <email address hidden> (Closes: #522977).
  * Adding Finnish debconf translations from Esko Arajarvi <email address hidden>
    (Closes: #522999).
  * Adding Russian debconf translations from Yuri Kozlov <email address hidden>
    (Closes: #523123).
  * Adding updated Japanese debconf translations from Hideki Yamane
    <email address hidden> (Closes: #523324).
  * Adding Spanish debconf translations from Fernando Gonzalez de Requena
    <email address hidden> (Closes: #523395).
  * Adding Galizian debconf translations from Marce Villarino
    <email address hidden> (Closes: #524251).

vsftpd (2.1.0-2) unstable; urgency=medium

  * Adding simplified Chinese debconf translations from Deng Xiyue
    <email address hidden> (Closes: #521790).
  * Adding updated Portuguese debconf translations from Miguel Figueiredo
    <email address hidden> (Closes: #522495).
  * Adding Japanese debconf translations from Hideki Yamane
    <email address hidden> (Closes: #522601).
  * Adding Italian debconf translations from Vincenzo Campanella
    <email address hidden> (Closes: #522603).

vsftpd (2.1.0-1) unstable; urgency=low

  * Merging upstream version 2.1.0 (Closes: #520779).
  * Rediffing config.patch.
  * Removing wifexited-const.patch, went upstream.
  * Removing defs.patch, went upstream.
  * Renumbering db-doc.patch.

vsftpd (2.0.7-4) unstable; urgency=low

  * Adding Portuguese debconf translations from Americo Monteiro
    <email address hidden> (Closes: #516547).
  * Adding Swedish debconf translations from Martin Bagge <email address hidden>
    (Closes: #516682).
  * Simplyfing defaults handling of debconf variables in postinst script.
  * Adding German debconf translation from Kai Wasserbaech
    <email address hidden> (Closes: #517845).
  * Correcting wrong account name capitalization in German debconf translation.
  * Starting vsftpd wit...

Read more...

Changed in vsftpd (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.