bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-6.9 problem with --preserve-timestamps


From: Paul Eggert
Subject: Re: coreutils-6.9 problem with --preserve-timestamps
Date: Thu, 16 Aug 2007 10:49:31 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Warren L Dodge <address@hidden> writes:

>        For applications portability, the utime() function should be used to 
> set file access and modification times instead of utimes().

That's just portability advice.  We can ignore it.  utimes is supposed
to work and is preferable to utime in this situation.  For details
please see Ulrich Drepper's paper "Defensive Programming for Red Hat
Enterprise Linux" <http://people.redhat.com/drepper/defprogramming.pdf>.

> To make sure I
> did the same operations in a true nfs directory also.

Since it occurs only with NFS, it appears to be a bug in the NFS
implementation you're using, either on the client or the server side.  See
<http://fancy.se/fc5/repoview/kernel-xen0-0-2.6.15-1.2054_FC5.html>
and look for #183208 for an example of this sort of bug.  I'm not
expert in Red Hat 4 but I imagine someone else on this list is, and
may be able to pinpoint the bug more precisely.  Good luck.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]