From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 11:47:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95CE316A4CE for ; Fri, 18 Feb 2005 11:47:01 +0000 (GMT) Received: from hotmail.com (bay18-f20.bay18.hotmail.com [65.54.187.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7900843D39 for ; Fri, 18 Feb 2005 11:47:01 +0000 (GMT) (envelope-from sledge76@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 18 Feb 2005 03:47:00 -0800 Message-ID: Received: from 218.153.121.120 by by18fd.bay18.hotmail.msn.com with HTTP; Fri, 18 Feb 2005 11:46:19 GMT X-Originating-IP: [218.153.121.120] X-Originating-Email: [sledge76@hotmail.com] X-Sender: sledge76@hotmail.com From: "Bernard Chong" To: freebsd-questions@freebsd.org Date: Fri, 18 Feb 2005 11:46:19 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 18 Feb 2005 11:47:00.0595 (UTC) FILETIME=[8E9B9C30:01C515AF] Subject: Is there way to set file creation time effectively? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 11:47:01 -0000 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/