<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
This problem really seems to have dragged on for a long time, for such a small issue.
<br />
<br />Take the simple route Eiji while waiting on a fix. If you can change the proftpd.conf file so it works the way you want it, and you don't want it changed from that configuration - set the file so it can't be changed. Set the immutable bit on the file with "chattr +i /etc/proftpd.conf". That will make the file <span style="font-weight: bold;">completely</span> unchangable - even by root. You can see what files have what special permissions like immutable set with "lsattr /etc". And if you ever want to change that file again, use "chattr -i /etc/proftpd.conf".
<br />
<br />This way, you don't have to worry about a reboot changing your ProFTP configuration file. Its not the best solution - but will solve your immediate problem.
<br />
<br />
<br />
<br />Chuck
<br />
<br />
<br /><font size="2"><b>---------- Original Message
-----------</b>
<br />
From: "Eiji Hamano" <bluequartz@hypersys.ne.jp>
<br />
To: <blueonyx@mail.blueonyx.it>
<br />
Sent: Tue, 3 Jul 2012 14:20:53 +0900
<br />
Subject: [BlueOnyx:10922] Re: Why refresh proftpd.conf when reboot ?
<br />
<br />> Hi Greg
<br />>
<br />>
I am glad to answer a clear reply.
<br />>
However, you could not imagine why I have to do it.
<br />>
<br />>
See [BlueOnyx:03007] Proftp timestamps.
<br />>
<br />>
And the link :
<br />>
<a target="_blank" href="http://bluequartz.org/ml/archive/coba-e/15300/15357.html">http://bluequartz.org/ml/archive/coba-e/15300/15357.html</a>
<br />>
was gone.
<br />>
So See following "Original Message".
<br />>
<br />>
> -----------Original Message-----------------
<br />>
> Date: Wed, 18 Mar 2009 16:58:50 -0700
<br />>
> From: "Michael Aronoff" <ma@ciic.com>
<br />>
> Subject: [coba-e:15357] Proftp timestamps
<br />>
> To: <coba-e@bluequartz.org>
<br />>
>
<br />>
>
<br />>
> I have been having an issue with Proftp showing wrong timestamps for files
<br />>
> uploaded for a while.
<br />>
> It makes a mess of using Dream weavers sync functions.
<br />>
> I finally found a fix. In case anyone else is interested.
<br />>
>
<br />>
> In /etc/proftpd.conf
<br />>
> In the <global> section
<br />>
> right below TimesGMT off
<br />>
> add the following line.
<br />>
> SetEnv TZ :/etc/localtime
<br />>
>
<br />>
> That will force proftp to get your timezone from the OS properly
<br />>
> and all timestamps shown in any FTP programs will be correct.
<br />>
> I hope someone finds it useful. Perhaps it should be in BQ as a
default?
<br />>
>
<br />>
> ___________________________
<br />>
> M Aronoff - West Hills, CA
<br />>
<br />>
Eiji Hamano
<br />>
<br />>
> Hi Eiji
<br />>
>
<br />>
> On 7/2/2012 1:10 PM, Eiji Hamano wrote:
<br />>
>> Hi Chris
<br />>
>>
<br />>
>> Would you advice me how setting following with GUI ?
<br />>
>>
<br />>
>> TimesGMT off
<br />>
>> SetEnv TZ :/etc/localtime
<br />>
>> ListOptions "-a"
<br />>
>
<br />>
> I just had a look at a stock Blueonyx box;
<br />>
>
<br />>
> 1. This is standard - no mods needed
<br />>
> TimesGMT
off
<br />>
>
<br />>
> 2. This is also standard - no mods needed
<br />>
> ListOptions
"-a"
<br />>
>
<br />>
> 3. The last one is an environment variable. If it is specifically
<br />>
> causing you grief, you can set it somewhere else - perhaps in an init or
<br />>
> rc script?
<br />>
>
<br />>
> As a more general answer to your question - Why refresh proftpd.conf?
<br />>
> Because it is designed that way. Way back in the bowels of time, the
<br />>
> Cobalt developers created constructors and handlers that build config
<br />>
> files based on data in the cobalt database. From my own experience, my
<br />>
> timestamps in my ftp log file work fine...
<br />>
>
<br />>
> Regards,
<br />>
> Greg
<br />>
>
<br />>
>> Eiji Hamano
<br />>
>>
<br />>
>>
<br />>
>>
<br />>
>>> Eiji Hamano wrote:
<br />>
>>>> Hi Chris
<br />>
>>>>
<br />>
>>>>> Did you set the Time Zone in the BlueOnyx GUI?
<br />>
>>>> No, I set them in "proftpd.conf ".
<br />>
>>> I would recommend setting in the BlueOnyx GUI. That should
help you.
<br />>
>>>
<br />>
>>>
<br />>
>>> --
<br />>
>>> Chris Gebhardt
<br />>
>>> VIRTBIZ Internet Services
<br />>
>>> Access, Web Hosting, Colocation, Dedicated
<br />>
>>> <a target="_blank" href="http://www.virtbiz.com/">www.virtbiz.com</a> | toll-free (866) 4 VIRTBIZ
<br />>
<br />>
_______________________________________________
<br />>
Blueonyx mailing list
<br />>
Blueonyx@mail.blueonyx.it
<br />>
<a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>