Date: 18 Apr 2001 10:57:48 -0400 From: Lowell Gilbert <lowell@world.std.com> To: freebsd-questions@freebsd.org, eric.parusel@globalrelay.net Subject: Re: FTPd, ls, and Timezones..... Message-ID: <44eluquufn.fsf@lowellg.ne.mediaone.net> In-Reply-To: "Eric Parusel"'s message of "Tue, 17 Apr 2001 09:30:21 -0700" References: <987557973.331425@nnrp.gt.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
"Eric Parusel" <eric.parusel@globalrelay.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44eluquufn.fsf>