Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30417

Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'.

From Nobody <nobody@nowhere.com>
Subject Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'.
Date 2012-09-28 18:22 +0100
Message-Id <pan.2012.09.28.17.22.11.342000@nowhere.com>
Newsgroups comp.lang.python
References <e5a3b91c-0cbc-495d-b62f-ce16bb97db45@googlegroups.com>
Organization Zen Internet

Show all headers | View raw


On Fri, 28 Sep 2012 06:12:35 -0700, 陈伟 wrote:

> what is the difference between st_ctime and st_mtime one is the time of
> last change and the other is the time of last modification, but i can
> not understand what is the difference between 'change' and 'modification'. 

st_mtime is updated when the file's contents change. st_ctime is updated
when the file's metadata (owner, group, permissions, link count, etc)
changes.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. 陈伟 <chenwei.address@gmail.com> - 2012-09-28 06:12 -0700
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Chris Angelico <rosuav@gmail.com> - 2012-09-29 01:07 +1000
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Christian Heimes <christian@python.org> - 2012-09-28 17:18 +0200
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Chris Angelico <rosuav@gmail.com> - 2012-09-29 01:25 +1000
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Nobody <nobody@nowhere.com> - 2012-09-28 18:22 +0100
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. "Kristen J. Webb" <kwebb@teradactyl.com> - 2012-09-28 11:48 -0600
    Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Nobody <nobody@nowhere.com> - 2012-09-29 20:24 +0100

csiph-web