Mail Archives: djgpp-workers/2002/02/24/16:39:09
> c:\foo> cp -pvPr dir1/* dir2
> cp: preserving times for dir2/dir1: Permission denied (EACCES)
> I understand why the error message is printed, but the DJGPP port
> shouldn't print it, since we know DOS/Windows doesn't let us change
> the time stamps of directories, so this failure is normal behavior,
> not something the user should be bothered with.
Is this check in the library or in the application?
> I'm also puzzled as to why is the message printed after cp copies
> dir1/file1, not after it copies dir1 into dir2.
I didn't see this (see below).
> My cp.exe is dated June 4, 2001, and its size is 128000 bytes, in case
> this is important.
I don't have this cp.exe - I have an (old) cvs/w2k testing one and the
one I updated in the refresh.
I copied my djgpp tree as the test.
I get:
cp: preserving times for test/djgpp: Permission denied (EACCES)
after the last file in djgpp/bin is copied - with both images. I don't see
this message for any other directories in the tree, just this one (which
is the first one). So, I also see this message, but only for the first
directory copied, and after the contents of the directory were copied.
I also observed random failures when setting the file dates. Using both
the cvs version and 2.03 refresh I got some EACCES errors (1 or 2 for each
tree also in the bin directory). File copied fine, but the date was not
set. This testing was under Win95 (don't have access to other boxes now).
- Raw text -