(dv) Timezone issues with FTP defaulting to Global Time (GMT)
Requirements
Before you start, please have these handy:
- Root access and SSH access to your (dv)
- A basic understanding of the Vim editor
Note: The authoritative source for this information can be found at the following link:
http://proftpd.org/docs/directives/linked/config_ref_TimesGMT.html
Symptoms
- Time Zone is set correctly in Linux, but FTP reports incorrect timestamps. Closer inspection reveals that the FTP timestamps are set to GMT instead of following the correctly set timezone.
Solution
Open up /etc/proftpd.conf with vi to edit it
vi /etc/proftpd.conf
Navigate to this section
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
Next, add 'TimesGMT off' to the last line before </Global>, like so:
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
TimesGMT off
</Global>
Finally, restart xinetd:
/etc/init.d/xinetd restart
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article