<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19258">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face="MS UI Gothic">Hi Chuck </FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><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></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic">Eiji Hamano</FONT></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt MS UI Gothic">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt MS UI Gothic; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=chuck@tetlow.net href="mailto:chuck@tetlow.net">Chuck Tetlow</A>
</DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>To:</B> <A
title=blueonyx@mail.blueonyx.it
href="mailto:blueonyx@mail.blueonyx.it">BlueOnyx General Mailing List</A>
</DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>Sent:</B> Tuesday, July 03, 2012 2:52
PM</DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>Subject:</B> [bluequartz]
[BlueOnyx:10923] Re: Why refresh proftpd.conf when reboot ?</DIV>
<DIV><BR></DIV>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><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
href="http://bluequartz.org/ml/archive/coba-e/15300/15357.html"
target=_blank>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
href="http://www.virtbiz.com/" target=_blank>www.virtbiz.com</A> | toll-free
(866) 4 VIRTBIZ <BR>> <BR>>
_______________________________________________ <BR>> Blueonyx mailing list
<BR>> Blueonyx@mail.blueonyx.it <BR>> <A
href="http://mail.blueonyx.it/mailman/listinfo/blueonyx"
target=_blank>http://mail.blueonyx.it/mailman/listinfo/blueonyx</A>
<BR><B>------- End of Original Message -------</B> <BR></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>Blueonyx mailing
list<BR>Blueonyx@mail.blueonyx.it<BR>http://mail.blueonyx.it/mailman/listinfo/blueonyx<BR></BLOCKQUOTE></BODY></HTML>