From owner-freebsd-stable Thu Jun 1 12:41:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from frolkin.demon.co.uk (frolkin.demon.co.uk [194.222.100.41]) by hub.freebsd.org (Postfix) with ESMTP id B3C7637B814 for ; Thu, 1 Jun 2000 12:41:40 -0700 (PDT) (envelope-from sasha@frolkin.demon.co.uk) Received: from sasha by frolkin.demon.co.uk with local (Exim 3.12 #1) id 12xaPp-0000dm-00; Thu, 01 Jun 2000 20:14:01 +0100 Date: Thu, 1 Jun 2000 20:14:00 +0100 From: Alexander Frolkin To: andrew@ugh.net.au Cc: Randall Hopper , stable@freebsd.org Subject: Re: cp fails to do utimes() (??) Message-ID: <20000601201400.B1265@gamma> Reply-To: Alexander Frolkin References: <20000531160040.A1299@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from andrew@ugh.net.au on Thu, Jun 01, 2000 at 03:59:52PM +1000 X-Operating-System: Linux 2.2.15 X-GPG-Key-Fingerprint: 6C84 3EB2 550E E581 62FA BB0C D510 B042 FD5C E7A7 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 01, 2000 at 03:59:52PM +1000, andrew@ugh.net.au wrote: > > > 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? It defaults to root but you can change this using the -g and -u options of mount_msdos. See mount_msdos(8) for details. Alexander > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message