| Submitter | Stephan Hoffmann |
|---|---|
| Date | Jan. 21, 2013, 6:21 p.m. |
| Message ID | <1358792489-13488-1-git-send-email-sho@relinux.de> |
| Download | mbox | patch |
| Permalink | /patch/214242/ |
| State | Accepted |
| Commit | ed357ebef6042619095e0e3e81cf1dcd27b19abc |
| Headers | show |
Comments
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> 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.
Patch
diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk index c4dd72c..7c55899 100644 --- a/package/vsftpd/vsftpd.mk +++ b/package/vsftpd/vsftpd.mk @@ -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
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> --- package/vsftpd/vsftpd.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)