From owner-freebsd-questions@FreeBSD.ORG Thu Jun 29 07:53:17 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 EE02216A412 for ; Thu, 29 Jun 2006 07:53:17 +0000 (UTC) (envelope-from nocturnal@swehack.se) Received: from mail2.swebase.com (mail2.swebase.com [82.99.44.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4914444AB2 for ; Thu, 29 Jun 2006 07:53:16 +0000 (GMT) (envelope-from nocturnal@swehack.se) Received: from [82.99.47.5] by mail2.swebase.com (MDaemon.PRO.v8.1.0.R) with ESMTP id 40-md50000042039.msg for ; Thu, 29 Jun 2006 09:52:39 +0200 Message-ID: <44A38698.1090805@swehack.se> Date: Thu, 29 Jun 2006 09:51:52 +0200 From: nocturnal User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Greg Barniskis References: <44A28AF3.5060600@swehack.se> <44A290F5.7010100@scls.lib.wi.us> In-Reply-To: <44A290F5.7010100@scls.lib.wi.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-Sender: nocturnal@swehack.se X-MDRemoteIP: 82.99.47.5 X-Return-Path: nocturnal@swehack.se X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail2 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 X-Spam-Level: X-Spam-Processed: mail2.swebase.com, Thu, 29 Jun 2006 09:52:39 +0200 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: Thu, 29 Jun 2006 07:53:18 -0000 Hi I use /etc/ftpchroot to chroot the users but i don't think i should be forced to link a file into each users home directory. That's not only a lot of users but there will also be questions from users about what kind of file it is and what it's doing there. I would appreciate any other solutions, if they exist. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Greg Barniskis wrote: > 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. > > >