summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
diff options
context:
space:
mode:
authorDave Cobbley <david.j.cobbley@linux.intel.com>2018-08-14 10:05:37 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-22 21:26:31 -0400
commiteb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch)
treede291a73dc37168da6370e2cf16c347d1eba9df8 /import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
parent9c3cf826d853102535ead04cebc2d6023eff3032 (diff)
downloadtalos-openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.gz
talos-openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.zip
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch')
-rw-r--r--import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch b/import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
deleted file mode 100644
index b69de1d1c..000000000
--- a/import-layers/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From ce2be5d4967445828d5ae9d9462cfaa78ae03c73 Mon Sep 17 00:00:00 2001
-From: Ming Liu <ming.liu@windriver.com>
-Date: Wed, 18 Sep 2013 09:44:20 +0800
-Subject: [PATCH] vsftpd: change default value of secure_chroot_dir
-
-Upstream-Status: Pending
-
-Change secure_chroot_dir pointing to a volatile directory.
-
-Signed-off-by: Ming Liu <ming.liu@windriver.com>
-
----
- INSTALL | 6 +++---
- tunables.c | 2 +-
- vsftpd.conf.5 | 2 +-
- 3 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/INSTALL b/INSTALL
-index 4f811aa..427122a 100644
---- a/INSTALL
-+++ b/INSTALL
-@@ -27,11 +27,11 @@ user in case it does not already exist. e.g.:
- [root@localhost root]# useradd nobody
- useradd: user nobody exists
-
--2b) vsftpd needs the (empty) directory /usr/share/empty in the default
-+2b) vsftpd needs the (empty) directory /var/run/vsftpd/empty in the default
- configuration. Add this directory in case it does not already exist. e.g.:
-
--[root@localhost root]# mkdir /usr/share/empty/
--mkdir: cannot create directory `/usr/share/empty': File exists
-+[root@localhost root]# mkdir /var/run/vsftpd/empty/
-+mkdir: cannot create directory `/var/run/vsftpd/empty': File exists
-
- 2c) For anonymous FTP, you will need the user "ftp" to exist, and have a
- valid home directory (which is NOT owned or writable by the user "ftp").
-diff --git a/tunables.c b/tunables.c
-index 284a10d..8c63c3f 100644
---- a/tunables.c
-+++ b/tunables.c
-@@ -254,7 +254,7 @@ tunables_load_defaults()
- /* -rw------- */
- tunable_chown_upload_mode = 0600;
-
-- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
-+ install_str_setting("/var/run/vsftpd/empty", &tunable_secure_chroot_dir);
- install_str_setting("ftp", &tunable_ftp_username);
- install_str_setting("root", &tunable_chown_username);
- install_str_setting("/var/log/xferlog", &tunable_xferlog_file);
-diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
-index fcc6022..e4ffdee 100644
---- a/vsftpd.conf.5
-+++ b/vsftpd.conf.5
-@@ -969,7 +969,7 @@ This option should be the name of a directory which is empty. Also, the
- directory should not be writable by the ftp user. This directory is used
- as a secure chroot() jail at times vsftpd does not require filesystem access.
-
--Default: /usr/share/empty
-+Default: /var/run/vsftpd/empty
- .TP
- .B ssl_ciphers
- This option can be used to select which SSL ciphers vsftpd will allow for
OpenPOWER on IntegriCloud