<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Eiji<br>
      <br>
      On 7/4/2012 3:17 PM, Eiji Hamano wrote:<br>
    </div>
    <blockquote cite="mid:5A8699550BC7498AA5EEE03A3F20329E@DELLDT7570"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19258">
      <style></style>
      <div><font face="MS UI Gothic" size="2">Hi  Chuck and <font
            size="3">Greg<br>
          </font></font></div>
      <div><font face="MS UI Gothic" size="2">> That is your problem
          - right? </font></div>
      <font face="MS UI Gothic">
        <div><br>
          <font size="2">It is great news.<br>
            I  will be able to adapt it permanently to a specific server
            "ListOptions",</font></div>
        <div><font size="2">until changing Proftp via YUM.</font></div>
        <div> </div>
        <div><font size="2">However the time_stamp problem of Proftp is
            different from ListOptions.</font></div>
        <div><font size="2">The problem might came from file
            /usr/share/zoneinfo,  I think.</font></div>
        <div> </div>
        <div><font size="2">Greg</font></div>
        <div> </div>
        <div><font size="2">I  created the clean test server that apply
            all yum updates.<br>
            I will send the IP and psw to you personally.  <br>
            I pray that you are able to find out the root of the
            problem.</font></div>
        <div> </div>
        <div><font size="2">The reproduce documenting are only 2 steps.</font></div>
        <div> </div>
        <div><font size="2">   1,  Access the server with ftp via 
            siteadmin,  not via admin.<br>
                   Only the problem happen on user and siteadmin,  Not
            on admin.</font></div>
        <div> </div>
        <div><font size="2">   2,  Please upload any file to any place
            on the server.  <br>
                   Then look the time_stamp.</font></div>
      </font></blockquote>
    <br>
    On your server...<br>
    <br>
    1. I logged in. Edited /etc/proftpd.conf - and added a SetEnv TZ
    line<br>
    2. Rebooted<br>
    3. Config file was unchanged.<br>
    <br>
    The symptoms you reported initially "Why refresh proftpd.conf when
    reboot ?" are untrue. BlueOnyx does NOT change or rebuild that file
    on reboot. Sorry to again say this, but please in future provide
    clear information in reporting a bug. We've wasted a lot of time
    talking about this in the list - where the problem you have reported
    does not exist.<br>
    <br>
    In your current email, you have now advised 
    that the timezone in log files is wrong when a non-admin user logs
    in. If I were to guess, this would be related to the chrooting of
    end users into a vsite environment.  The timezone file is in /etc/
    ... When a non-admin user logs in, it does a chroot. That chroot
    will not have access to /etc .... If anyone knows how to configure a
    proftpd.conf file to overcome this problem, we can investigate new
    code for blueonyx to make this happen by default.<br>
    <br>
    In my opinion, this symptom is NOT related to rebooting, nor is it
    related to any blueonyx code changes. It would be a change in
    behavior for proftpd. It might be a good idea Eiji to go to the <a
      href="http://www.proftpd.org/">http://www.proftpd.org/</a> website
    and ask them for some help...<br>
    <br>
    Regards,<br>
    Greg.<br>
    <br>
    <blockquote cite="mid:5A8699550BC7498AA5EEE03A3F20329E@DELLDT7570"
      type="cite"><font face="MS UI Gothic">
        <div> </div>
        <div><font size="2">Eiji Hamano</font></div>
      </font>
      <div> </div>
      <div> </div>
      <div><br>
      </div>
      <blockquote style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT:
        5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">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" <a class="moz-txt-link-rfc2396E" href="mailto:bluequartz@hypersys.ne.jp"><bluequartz@hypersys.ne.jp></a> <br>
          To: "BlueOnyx General Mailing List"
          <a class="moz-txt-link-rfc2396E" href="mailto:blueonyx@mail.blueonyx.it"><blueonyx@mail.blueonyx.it></a> <br>
          Sent: Tue, 3 Jul 2012 16:22:14 +0900 <br>
          Subject: [BlueOnyx:10925]   Re: Why refresh proftpd.conf when
          reboot ? <br>
          <br>
          > <font face="MS UI Gothic" size="2">Hi  Chuck </font><br>
          >   <br>
          > <font face="MS UI Gothic" size="2">While  "chattr +i
            /etc/proftpd.conf",   <br>
            > noone can create/delete/modify any site on  ADMIN page?</font>
          <br>
          >   <br>
          > <font face="MS UI Gothic" size="2">Eiji Hamano</font> <br>
          >   <br>
          >  
          <blockquote style="BORDER-LEFT: rgb(0,0,0) 2px solid;
            PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px;
            MARGIN-RIGHT: 0px"><br>
            > ----- Original Message ----- <br>
            > <b>From:</b> <a moz-do-not-send="true"
              title="chuck@tetlow.net" href="mailto:chuck@tetlow.net">Chuck
              Tetlow</a> <br>
            > <b>To:</b> <a moz-do-not-send="true"
              title="blueonyx@mail.blueonyx.it"
              href="mailto: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" <a class="moz-txt-link-rfc2396E" href="mailto:bluequartz@hypersys.ne.jp"><bluequartz@hypersys.ne.jp></a>
              <br>
              > To: <a class="moz-txt-link-rfc2396E" href="mailto:blueonyx@mail.blueonyx.it"><blueonyx@mail.blueonyx.it></a> <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 moz-do-not-send="true"
                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" <a class="moz-txt-link-rfc2396E" href="mailto:ma@ciic.com"><ma@ciic.com></a>
              <br>
              > > > Subject: [coba-e:15357] Proftp timestamps <br>
              > > > To: <a class="moz-txt-link-rfc2396E" href="mailto:coba-e@bluequartz.org"><coba-e@bluequartz.org></a> <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 moz-do-not-send="true"
                href="http://www.virtbiz.com/" target="_blank">www.virtbiz.com</a>
              | toll-free (866) 4 VIRTBIZ <br>
              > > <br>
              > > _______________________________________________
              <br>
              > > Blueonyx mailing list <br>
              > > <a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a> <br>
              > > <a moz-do-not-send="true"
                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><br>
            >
            <hr> <br>
            > _______________________________________________ <br>
            > Blueonyx mailing list <br>
            > <a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a> <br>
            > <a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a> <br>
            > </blockquote>
          <br>
          <b>------- End of Original Message -------</b> <br>
        </font>
        <p> </p>
        <hr> _______________________________________________<br>
        Blueonyx mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
        <a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>