[BlueOnyx:10922] Re: Why refresh proftpd.conf when reboot ?

Eiji Hamano bluequartz at hypersys.ne.jp
Tue Jul 3 00:20:53 -05 2012


Hi  Greg

I am glad to answer a clear reply.
However,  you could not  imagine why I have to do it.

See  [BlueOnyx:03007]  Proftp timestamps.

And the link :
  http://bluequartz.org/ml/archive/coba-e/15300/15357.html
was gone.
So See following "Original Message".


> -----------Original Message-----------------
> Date: Wed, 18 Mar 2009 16:58:50 -0700
> From: "Michael Aronoff" <ma at ciic.com>
> Subject: [coba-e:15357] Proftp timestamps
> To: <coba-e at bluequartz.org>
>
>
> I have been having an issue with Proftp showing wrong timestamps for files 
> uploaded for a while.
> It makes a mess of using Dream weavers sync functions.
> I finally found a fix.  In case anyone else is interested.
>
> In /etc/proftpd.conf
> In the <global> section
> right below TimesGMT off
> add the following line.
> SetEnv TZ :/etc/localtime
>
> That will force proftp to get your timezone from the OS properly
> and all timestamps shown in any FTP programs will be correct.
> I hope someone finds it useful.  Perhaps it should be in BQ as a default?
>
> ___________________________
> M Aronoff - West Hills, CA


Eiji Hamano




> Hi Eiji
>
> On 7/2/2012 1:10 PM, Eiji Hamano wrote:
>> Hi  Chris
>>
>> Would you advice me how setting following  with GUI  ?
>>
>>     TimesGMT   off
>>     SetEnv TZ :/etc/localtime
>>     ListOptions   "-a"
>
> I just had a look at a stock Blueonyx box;
>
> 1. This is standard - no mods needed
> TimesGMT                        off
>
> 2. This is also standard - no mods needed
> ListOptions                     "-a"
>
> 3. The last one is an environment variable. If it is specifically
> causing you grief, you can set it somewhere else - perhaps in an init or
> rc script?
>
> As a more general answer to your question - Why refresh proftpd.conf?
> Because it is designed that way. Way back in the bowels of time, the
> Cobalt developers created constructors and handlers that build config
> files based on data in the cobalt database. From my own experience, my
> timestamps in my ftp log file work fine...
>
> Regards,
> Greg
>
>> Eiji Hamano
>>
>>
>>
>>> Eiji Hamano wrote:
>>>> Hi  Chris
>>>>
>>>>> Did you set the Time Zone in the BlueOnyx GUI?
>>>> No,  I set them in "proftpd.conf ".
>>> I would recommend setting in the BlueOnyx GUI.  That should help you.
>>>
>>>
>>> -- 
>>> Chris Gebhardt
>>> VIRTBIZ Internet Services
>>> Access, Web Hosting, Colocation, Dedicated
>>> www.virtbiz.com | toll-free (866) 4 VIRTBIZ




More information about the Blueonyx mailing list