Permalink
Browse files

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 <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information...
1 parent d280e81 commit ed357ebef6042619095e0e3e81cf1dcd27b19abc @steho steho committed with jacmet Jan 21, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 package/vsftpd/vsftpd.mk
View
@@ -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

0 comments on commit ed357eb

Please sign in to comment.