Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader01.nrc01.news.zen.net.uk.POSTED!not-for-mail From: Nobody 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: Fri, 28 Sep 2012 18:22:11 +0100 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.python References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines: 10 Organization: Zen Internet NNTP-Posting-Host: 33b8f6a1.news.zen.co.uk X-Trace: DXC=e`R;:2goB5PZhEmRS@T;C_a0UP_O8AJo\=dR0\ckLKGPWeZ<[7LZNRV1<`:M]jF@HRM2Z^cWRFGA[R4H^=7`GaO^ X-Complaints-To: abuse@zen.co.uk Xref: csiph.com comp.lang.python:30417 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.