Note that there are some explanatory texts on larger screens.

plurals
  1. POwhy is cygwin seeing older versions of the same files?
    primarykey
    data
    text
    <p>I was hoping to use Cygwin to "tail -f" an apache log file on one of my Windows machines. So in my cygwin terminal, I cd over to the log directory, and I get:</p> <pre><code>ccurvey@MINNIE1 /cygdrive/c/Program Files (x86)/Apache Software Foundation/Apache2.2/logs $ ls -l total 21 -rwx------+ 1 ccurvey Domain Users 6004 Feb 25 2012 access.log -rwx------+ 1 ccurvey Domain Users 39519 Feb 25 2012 error.log -rwx------+ 1 Administrators Domain Users 6 Jul 17 23:48 httpd.pid -rwx------+ 1 SYSTEM SYSTEM 6104 Feb 25 2012 install.log -rwx------+ 1 ???????? Domain Users 0 Feb 24 2012 minnie.log </code></pre> <p>But if I look at the same directory in a DOS command window, I see:</p> <pre><code>c:\Program Files (x86)\Apache Software Foundation\Apache2.2\logs&gt;dir Volume in drive C is Minnie OS Volume Serial Number is 9C28-B005 Directory of c:\Program Files (x86)\Apache Software Foundation\Apache2.2\logs 07/17/2013 11:48 PM &lt;DIR&gt; . 07/17/2013 11:48 PM &lt;DIR&gt; .. 07/17/2013 11:48 PM 10,514,794 access.log 07/17/2013 11:48 PM 2,458,745 error.log 07/17/2013 11:48 PM 6 httpd.pid 02/25/2012 01:04 PM 6,104 install.log 02/24/2012 10:56 AM 0 minnie.log 5 File(s) 12,979,649 bytes 2 Dir(s) 1,897,603,072 bytes free </code></pre> <p>So why is my DOS window showing me that access.log was last modified on 7/17/13, and my cygwin terminal tells me the same file was last modified on 2/25/12? (I did look, and the contents of the files are different! You can see the file size differences right on the listings.)</p> <p>======</p> <p>UPDATE: I ended up uninstalling my existing version of cygwin and installing a brand-new copy, and everything is working now.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload