From owner-freebsd-questions Wed Apr 18 7:57:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 97B1C37B423 for ; Wed, 18 Apr 2001 07:57:51 -0700 (PDT) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.11.3/8.11.3) id f3IEvmg16803; Wed, 18 Apr 2001 10:57:48 -0400 (EDT) (envelope-from lowell) To: freebsd-questions@freebsd.org, eric.parusel@globalrelay.net Subject: Re: FTPd, ls, and Timezones..... References: <987557973.331425@nnrp.gt.ca> From: Lowell Gilbert Date: 18 Apr 2001 10:57:48 -0400 In-Reply-To: "Eric Parusel"'s message of "Tue, 17 Apr 2001 09:30:21 -0700" Message-ID: <44eluquufn.fsf@lowellg.ne.mediaone.net> Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Eric Parusel" writes: > I'm using FreeBSD stable, running ftpd. > My timezone is set to America/Vancouver (PDT), and my system clock isn't set > to UTC... > > Using the shell, when creating/copying files, the date shows up correctly > when I run ls.. (09:28) > > When I connect to the ftp server (ftpd), and upload a file, the file date > shows up as 7 hours ahead... (16:28, or what would be UTC...) in my ftp > client (ftp on unix, windows ftp clients). > > If I ssh in and check the file date, it's set to 09:28... > ftpd doesn't appear to be displaying the proper file dates, is this a known > problem/feature/bug? Feature, not bug. There's no way for ftpd to know the correct time zone for the remote user, and there's no way for the user to know what time zone the server is in, so UTC is always used for FTP. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message