This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

new w/20050114 snapshot: chmod updates ctime


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]