How do I fix my FTP timestamps?
Overview
Symptom
The 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.
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
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
Instructions
- Connect to your server via SSH.
-
Open up
/etc/proftpd.confwith vi to edit:vi /etc/proftpd.conf -
Navigate to this section:
<Global> DefaultRoot ~ psacln AllowOverwrite on </Global> -
Next, add
TimesGMT offto the last line before</Global>, like so:<Global> DefaultRoot ~ psacln AllowOverwrite on TimesGMT off </Global> -
Finally, restart
xinetd:/etc/init.d/xinetd restart
Resources
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article