Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 09:40:02 -0400
From:      "Joshua Prunier" <winamprulz@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        techsupport@ivesinc.com
Subject:   FTP timestamp problem with ftpchroot
Message-ID:  <ed0e5e2a0704130640m4b0f203aydd58bf104764482@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed0e5e2a0704130640m4b0f203aydd58bf104764482>