2009/6/4 Greg Wooledge <[email protected]>:
> Running the internal sftp inside a chroot could definitely account for
> that.  Your operating system may have a file or a symbolic link
> somewhere in /etc which determines the default time zone; or it may
> just use the TZ environment variable.  They're all different.
>
> The absence of this inside the chroot would cause the chrooted processes
> to act as though they're running in UTC.
>

Hi Guys, thanks all of you for your input. Mistery solved.

It is enough to copy localtime into <chroot_dir>/etc and all is back
to normal and timestams are in correct timezone.

Cheers.
Syy

Reply via email to