From owner-freebsd-questions@FreeBSD.ORG Wed Jun 28 14:43:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C0416A963 for ; Wed, 28 Jun 2006 14:43:52 +0000 (UTC) (envelope-from nalists@scls.lib.wi.us) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B2F4422C for ; Wed, 28 Jun 2006 14:23:51 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from [172.26.2.238] ([172.26.2.238]) by mail.scls.lib.wi.us (8.13.1/8.13.1) with ESMTP id k5SENnpP037537; Wed, 28 Jun 2006 09:23:50 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-ID: <44A290F5.7010100@scls.lib.wi.us> Date: Wed, 28 Jun 2006 09:23:49 -0500 From: Greg Barniskis User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: nocturnal References: <44A28AF3.5060600@swehack.se> In-Reply-To: <44A28AF3.5060600@swehack.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Chrooted ftpd users can't access system time. 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: Wed, 28 Jun 2006 14:43:53 -0000 nocturnal wrote: > Hi > > I'm using the ftpd server that ships with FreeBSD and when i chroot a > user i notice that all created directories and files have GMT time on > them as if the process can't access the system time because it's > chrooted. That's only my theory. I would love a way to solve this, i > just can't imagine that people have had this problem for so long without > solving it. I believe you merely need to copy or link the system's /etc/localtime to the effective /etc of the chroot tree. But that's from memory, could only be theory too.