Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 11:46:19 +0000
From:      "Bernard Chong" <sledge76@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Is there way to set file creation time effectively?
Message-ID:  <BAY18-F208DC7F201C85786F38555D26E0@phx.gbl>

next in thread | raw e-mail | index | archive | help
utimes() works well when I try to set modification time and access time.
And if the target creation time is earlier than the original file creation 
time,
it works too.

But, utimes() does not seem to work with the target creation time of later 
than
the original time.
The bypass solution is to copy the file and apply utimes() to the copied 
file, which
seems to brute.

Is there any effective way to change the file creation time?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY18-F208DC7F201C85786F38555D26E0>