Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 09:23:49 -0500
From:      Greg Barniskis <nalists@scls.lib.wi.us>
To:        nocturnal <nocturnal@swehack.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Chrooted ftpd users can't access system time.
Message-ID:  <44A290F5.7010100@scls.lib.wi.us>
In-Reply-To: <44A28AF3.5060600@swehack.se>
References:  <44A28AF3.5060600@swehack.se>

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



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