From nobody@FreeBSD.org  Fri Feb  8 23:16:03 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CA82F16A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Feb 2008 23:16:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8A80913C45B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Feb 2008 23:16:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m18NDtlI029657
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Feb 2008 23:13:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m18NDt3Y029656;
	Fri, 8 Feb 2008 23:13:55 GMT
	(envelope-from nobody)
Message-Id: <200802082313.m18NDt3Y029656@www.freebsd.org>
Date: Fri, 8 Feb 2008 23:13:55 GMT
From: cm_gui <chee@function.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ftpd time zone is wrong
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120434
>Category:       misc
>Synopsis:       ftpd time zone is wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 08 23:20:01 UTC 2008
>Closed-Date:    Sat Feb 09 05:26:26 UTC 2008
>Last-Modified:  Sat Feb 09 05:26:26 UTC 2008
>Originator:     cm_gui
>Release:        6.2
>Organization:
function engineering
>Environment:
6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When we upload a file to the ftpd server on the machine, the time stamp of the file on the machine is correct.  The system time of the machine is also correct.    But when we use any ftp client (freebsd ftp, filezilla, net2ftp, Microsoft Windows command line ftp), the ftp client shows a different time stamp -- one that is 8 hours ahead -- i.e. GMT0.   The time on our machine is PST (GMT-6).

I cannot find anything in man ftpd on how to configure time zone for ftpd.

Thank you.
gui
>How-To-Repeat:
it seems to happen only on this 6.2 machine.

>Fix:
don't know.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sat Feb 9 05:25:10 UTC 2008 
State-Changed-Why:  
You need to put a correct localtime file to the ftp environment. 
E.g. cp /etc/localtime ~ftp/etc/. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120434 
>Unformatted:
