From ed357ebef6042619095e0e3e81cf1dcd27b19abc Mon Sep 17 00:00:00 2001 From: Stephan Hoffmann Date: Mon, 21 Jan 2013 08:21:29 +0000 Subject: [PATCH] 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 --- package/vsftpd/vsftpd.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2