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

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




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