From owner-freebsd-questions@FreeBSD.ORG Fri Apr 13 14:59:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BA9A16A403 for ; Fri, 13 Apr 2007 14:59:01 +0000 (UTC) (envelope-from tturner@ivesinc.com) Received: from ms07.mse2.exchange.ms (ms07.mse2.exchange.ms [69.25.50.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4100C13C469 for ; Fri, 13 Apr 2007 14:59:00 +0000 (UTC) (envelope-from tturner@ivesinc.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Apr 2007 10:48:28 -0400 Message-ID: <738D1515AEC9904AB3DD72E575AE79AD019A8247@ms07.mse2.exchange.ms> In-Reply-To: <44lkgwqqqs.fsf@be-well.ilk.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FTP timestamp problem with ftpchroot Thread-Index: Acd92iavhROCErN0SYObFjh26rft9AAAIjpg References: <44lkgwqqqs.fsf@be-well.ilk.org> From: "Ted Turner" To: "Lowell Gilbert" , "Joshua Prunier" Cc: techsupport , freebsd-questions@freebsd.org Subject: RE: FTP timestamp problem with ftpchroot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 14:59:01 -0000 Dear Josh Greenwich mean time -- I thought that might be related! * * * windows vista Ted Turner, CIO IVES Group, Manchaug MA, 01526=A0tturner@ivesinc.com My IVES Group Home Office=A0=A0804 915 7559 rolls to=A0mobile on n/a Mobile Phone=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 508 341 = 6973=A0=A0 IVES Group Data Center=A0=A0=A0=A0 508 476-3257 IVES Group E-Fax=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 508 519 0793=A0fax to = principal's=A0email IVES Group Paper Fax=A0=A0=A0=A0=A0=A0=A0508 476 3711 my=A0personal E-Fax=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0208 246 7533 -----Original Message----- From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org]=20 Sent: Friday, April 13, 2007 10:44 AM To: Joshua Prunier Cc: freebsd-questions@freebsd.org; techsupport Subject: Re: FTP timestamp problem with ftpchroot "Joshua Prunier" writes: > Hi, I've searched the FreeBSD support pages and googled with no = solution to > the problem I am having. When we FTP into our machine the timestamps = for all > the files seen are 4 hours later than if you ssh into the machine and = look > at those same files. The time is correct. I verified it with the date > command, BIOS is also correct. I also know this is somehow caused by = chroot. > I have an /etc/ftpchroot file enabled to keep ftp users in their own > directories. If I remove this file then the 4 hour time difference = goes away > and your able to see the proper times when viewing via FTP. > > Note that this system does not have anonymous ftp enabled. I'm also = having > the problem with both FreeBSD i386 6.1 & 6.2. Is this a bug? Maybe I'm = just > missing a setting or configuration somewhere. If anyone has run across = this > before and knows how to fix the problem I would greatly appreciate it. > Should I just give up on the FreeBSD ftpd and install a 3rd party FTP > server? I "strongly suspect" that your machine is set to a time zone four hours earlier than Universal. [like mine...] If so, it would be a guess that the problem is the lack of visibility of /etc/localtime within the chroot. You could probably link such a file into the chroot environment(s) and solve the problem that way.