From owner-freebsd-stable Wed May 31 22:59:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 715CA37BFA7 for ; Wed, 31 May 2000 22:59:37 -0700 (PDT) (envelope-from andrew@ugh.net.au) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 82196A841; Thu, 1 Jun 2000 15:59:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 7AF49542A; Thu, 1 Jun 2000 15:59:52 +1000 (EST) Date: Thu, 1 Jun 2000 15:59:52 +1000 (EST) From: andrew@ugh.net.au To: Randall Hopper Cc: stable@freebsd.org Subject: Re: cp fails to do utimes() (??) In-Reply-To: <20000531160040.A1299@nc.rr.com> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 31 May 2000, Randall Hopper wrote: > I can write the file as either user, but in the non-root case the resulting > file modification time is wrong. You can only use utimes if you are root or you own or have write permission on the file. You aren't root so do you own or have write permisison to the new file? FAT doesn't support ownership so what does the owner default to - it may not be you? What permisions are on the file when utimes is called? I may be way off... Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message