Subject: new w/20050114 snapshot: chmod updates ctime
From: Yitzchak Scott-Thoennes <[email-masked]>
To: [email-masked]
Date: Sun, 16 Jan 2005 09:35:09 -0800

With the 20050114 snapshot, chmod is updating a file's ctime.  This
didn't happen with the 20050111 snapshot.

$ cat ctime.sh
touch foo.$$
sleep 70
ls -l foo.$$
ls -lc foo.$$
chmod 0644 foo.$$
ls -l foo.$$
ls -lc foo.$$

$ uname -a
CYGWIN_NT-5.1 DHX98431 1.5.13s(0.117/4/2) 20050114 01:55:54 i686 unknown unknown Cygwin

$ ./ctime.sh
-rw-r--r--  1 sthoenna None 0 Jan 16 09:28 foo.3268
-rw-r--r--  1 sthoenna None 0 Jan 16 09:28 foo.3268
-rw-r--r--  1 sthoenna None 0 Jan 16 09:28 foo.3268
-rw-r--r--  1 sthoenna None 0 Jan 16 09:29 foo.3268

and 

$ uname -a
CYGWIN_NT-5.1 DHX98431 1.5.13s(0.117/4/2) 20050111 10:32:27 i686 unknown unknown Cygwin

$ ./ctime.sh
-rw-r--r--  1 sthoenna None 0 Jan 16 09:32 foo.2972
-rw-r--r--  1 sthoenna None 0 Jan 16 09:32 foo.2972
-rw-r--r--  1 sthoenna None 0 Jan 16 09:32 foo.2972
-rw-r--r--  1 sthoenna None 0 Jan 16 09:32 foo.2972

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/