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>
This commit is contained in:
parent
d280e814b6
commit
ed357ebef6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user