<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
No one will be able to make any FTP related changes - since that will lock the ProFTP configuration file.  
<br />
<br />But if I remember that file correctly - it isn't updated each time a site is added/deleted.  Only when changes are made to the FTP configuration.  So locking it won't hurt additions/deletions.  But if you want to modify the FTP server settings - you'd have to unlock the file first.
<br />
<br />The benefit - you won't have to worry about the proftpd.conf file updating each time the machine is rebooted.  That is your problem - right?
<br />
<br />
<br />
<br />Chuck
<br />
<br /><font size="2">
<br />
<br /><b>---------- Original Message 
-----------</b>
<br />
From: "Eiji Hamano" <bluequartz@hypersys.ne.jp> 

<br />
To: "BlueOnyx General Mailing List" <blueonyx@mail.blueonyx.it> 

<br />
Sent: Tue, 3 Jul 2012 16:22:14 +0900 

<br />
Subject: [BlueOnyx:10925]   Re: Why refresh proftpd.conf when reboot ? 

<br />

<br />> <font size="2" face="MS UI Gothic">Hi  Chuck 
</font>

<br />>  

<br />> <font size="2" face="MS UI Gothic">While  "chattr +i 

/etc/proftpd.conf",   
<br />> noone can create/delete/modify any site 

on  ADMIN 
page?</font>

<br />>  

<br />> <font size="2" face="MS UI Gothic">Eiji 
Hamano</font>

<br />>  

<br />>  

<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
  
<br />> ----- Original Message ----- 

  
<br />> <b>From:</b> 

  <a href="mailto:chuck@tetlow.net" title="chuck@tetlow.net">Chuck Tetlow</a> 

  

  
<br />> <b>To:</b> <a href="mailto:blueonyx@mail.blueonyx.it" title="blueonyx@mail.blueonyx.it">BlueOnyx General Mailing List</a> 

  

  
<br />> <b>Sent:</b> Tuesday, July 03, 2012 2:52 

  
PM
  
<br />> <b>Subject:</b> [bluequartz] 

  [BlueOnyx:10923] Re: Why refresh proftpd.conf when reboot 
?
  
<br />> 
<br />> 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 />> Chuck 

  
<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>
  
<br />> 

  

<hr />

  
<br />> _______________________________________________
<br />> Blueonyx 
mailing 

  list
<br />> Blueonyx@mail.blueonyx.it
<br />> 
http://mail.blueonyx.it/mailman/listinfo/blueonyx
<br />> 
</blockquote>

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>

</BODY>
</HTML>