From: Stephan Hoffmann Date: Mon, 21 Jan 2013 08:21:29 +0000 (+0000) Subject: vsftpd: add empty directory /usr/share/empty X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed357ebef6042619095e0e3e81cf1dcd27b19abc;p=buildroot.git vsftpd: add empty directory /usr/share/empty Vsftpd needs an empty directory where it can chroot. If /usr/share/empty isn't present it refuses to work in the default configuration. Signed-off-by: Stephan Hoffmann Signed-off-by: Peter Korsgaard --- diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk index a075e82629..36f2645893 100644 --- a/package/vsftpd/vsftpd.mk +++ b/package/vsftpd/vsftpd.mk @@ -47,6 +47,7 @@ define VSFTPD_INSTALL_TARGET_CMDS test -f $(TARGET_DIR)/etc/vsftpd.conf || \ $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \ $(TARGET_DIR)/etc/vsftpd.conf + install -d -m 700 $(TARGET_DIR)/usr/share/empty endef define VSFTPD_UNINSTALL_TARGET_CMDS