Re: Changing date of file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, Apr 5th 2007 at 22:53 -0400, quoth Matthew Miller:

=>On Fri, Apr 06, 2007 at 01:07:17AM +0300, Dotan Cohen wrote:
=>The other post (`touch`) gives the correct answer, but note that there is no
=>"created" date on Unix -- just last modification, last access, and last
=>metadata change.

Correct but... I just wanted to point out the st_ctime is the creation of 
the inode or other inode data changes, but that for the level of the 
person asking the question, ctime really is the file creation data (in all 
likelyhood). Other operations (besides touch) which will stomp on ctime,
are any functions which effect the inode of a file. This would include 
things like chmod, chown, chgrp, ln (i.e., ln without -s).

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux