vsftpd: add empty directory /usr/share/empty
PATCH 1/1 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 <[email protected]>
--- package/vsftpd/vsftpd.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/vsftpd/vsftpd.mk +1 -0
@@ -40,6 +40,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
Signature · 1 line
1.7.0.4
PATCH 1/1 vsftpd: add empty directory /usr/share/empty
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephan" == Stephan Hoffmann <[email protected]> writes:
Stephan> Vsftpd needs an empty directory where it can chroot. Stephan> If /usr/share/empty isn't present it refuses to work in the default Stephan> configuration.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard