Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 15:59:52 +1000 (EST)
From:      andrew@ugh.net.au
To:        Randall Hopper <aa8vb@nc.rr.com>
Cc:        stable@freebsd.org
Subject:   Re: cp fails to do utimes() (??)
Message-ID:  <Pine.BSF.4.21.0006011553240.24824-100000@starbug.ugh.net.au>
In-Reply-To: <20000531160040.A1299@nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006011553240.24824-100000>