[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/vsftpd/devel vsfptd-2.0.3-user_config.patch,NONE,1.1



Author: rvokal

Update of /cvs/dist/rpms/vsftpd/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13796

Added Files:
	vsfptd-2.0.3-user_config.patch 
Log Message:
- correct patch added

vsfptd-2.0.3-user_config.patch:
 twoprocess.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE vsfptd-2.0.3-user_config.patch ---
--- vsftpd-2.0.3/twoprocess.c.test	2005-08-31 11:49:58.000000000 +0200
+++ vsftpd-2.0.3/twoprocess.c	2005-08-31 11:58:11.000000000 +0200
@@ -422,7 +424,7 @@ handle_per_user_config(const struct myst
   {
     vsf_parseconf_load_file(str_getbuf(&filename_str), 1);
   }
-  else
+  else if (vsf_sysutil_statbuf_get_uid(p_statbuf) != VSFTP_ROOT_UID)
   {
     die("reading non-root config file"); 
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]