vsftpd下显示的时间与系统时间不一致的解决

1790阅读 0评论2015-08-06 qingheliu
分类:LINUX

Vsftpd上传文件后,通过ftp客户端显示的时间不对!


其实我已经修改了系统的时间了,在机器上ll 文件显示的时间是正常的,可是通过ftp客户端显示的却不正常,不知道为什么,后来在vsftpd.conf中加入:
use_localtime=YES 后
后来发现这样还是有问题,更换ftp客户端为cuteftp即可!原来是filezila
Vsftp下挂载目录:
mount   --bind     /home/jddftpuser/  /var/ftp/
mount   -o  bind  /home/jddftpuser/  /var/ftp/

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.
上一篇:mysql把latin1编码的中文转成gbk(或utf8)编码
下一篇:dial tcp: lookup index.docker.io: no such host