Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
vsftpd
vsftpd-mdtm-in-utc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vsftpd-mdtm-in-utc.patch of Package vsftpd
Index: vsftpd-3.0.2/postlogin.c =================================================================== --- vsftpd-3.0.2.orig/postlogin.c 2017-04-06 12:40:37.413294178 +0200 +++ vsftpd-3.0.2/postlogin.c 2017-04-06 12:40:37.610294876 +0200 @@ -1639,7 +1639,7 @@ handle_mdtm(struct vsf_session* p_sess) else { retval = vsf_sysutil_setmodtime( - str_getbuf(&p_sess->ftp_arg_str), modtime, tunable_use_localtime); + str_getbuf(&p_sess->ftp_arg_str), modtime, 0); if (retval != 0) { vsf_cmdio_write(p_sess, FTP_FILEFAIL, @@ -1664,7 +1664,7 @@ handle_mdtm(struct vsf_session* p_sess) static struct mystr s_mdtm_res_str; str_alloc_text(&s_mdtm_res_str, vsf_sysutil_statbuf_get_numeric_date( - s_p_statbuf, tunable_use_localtime)); + s_p_statbuf, 0)); vsf_cmdio_write_str(p_sess, FTP_MDTMOK, &s_mdtm_res_str); } } Index: vsftpd-3.0.2/vsftpd.conf.5 =================================================================== --- vsftpd-3.0.2.orig/vsftpd.conf.5 2017-04-06 12:40:37.496294472 +0200 +++ vsftpd-3.0.2/vsftpd.conf.5 2017-04-06 12:41:50.271557442 +0200 @@ -556,9 +556,11 @@ may be found within the _current_ chroot Default: NO .TP .B use_localtime -If enabled, vsftpd will display directory listings with the time in your -local time zone. The default is to display GMT. The times returned by the -MDTM FTP command are also affected by this option. +If enabled, vsftpd will display directory listings with the time in your local +time zone. The default is to display GMT. Note that this setting will NOT +affect the times returned by the MDTM FTP command in this version of the +daemon. This behavior deviates from the upstream version, which violated +RFC3659 and subsequently caused problems with popular FTP clients. Default: NO .TP
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor