This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Automake 1.4l released


>>> "Charles" == Charles Wilson <cwilson@ece.gatech.edu> writes:

[...]

 Charles> distcheck:) so their permissions are -r--r--r--.  The
 Charles> 'cp -p' command performs the copy in a two step
 Charles> process: first, the file is copied, permissions and
 Charles> all. So, we have a new copy of the file which is ALSO
 Charles> -r--r--r--, but with the wrong timestamp.  Then, cp
 Charles> tries to preserve the time (e.g. CHANGE the timestamp
 Charles> of the new copy so that it matches the old original).
 Charles> This is allowed on linux, but NOT on
 Charles> windows/NTFS/cygwin, when perms = -r--r--r--.

Maybe I'm missing something, but my manual page for cp reads

       -p, --preserve
              preserve file attributes if possible

Doesn't `if possible' means cp should not complain is it does?

[...]

-- 
Alexandre Duret-Lutz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]