Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 20:14:00 +0100
From:      Alexander Frolkin <alexander@frolkin.demon.co.uk>
To:        andrew@ugh.net.au
Cc:        Randall Hopper <aa8vb@nc.rr.com>, stable@freebsd.org
Subject:   Re: cp fails to do utimes() (??)
Message-ID:  <20000601201400.B1265@gamma>
In-Reply-To: <Pine.BSF.4.21.0006011553240.24824-100000@starbug.ugh.net.au>; from andrew@ugh.net.au on Thu, Jun 01, 2000 at 03:59:52PM %2B1000
References:  <20000531160040.A1299@nc.rr.com> <Pine.BSF.4.21.0006011553240.24824-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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