X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Sun, 24 Feb 2002 18:03:48 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <3405-Sun24Feb2002180347+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 Subject: cp complains about timestamps of directories Reply-To: djgpp-workers AT delorie DOT com Let's say you have a directory with 2 subdirectories, dir1 and dir2, and let's say that dir1 has the files file1, file2, and file3 in it. If you now type c:\foo> cp -pvPr dir1/* dir2 cp will print this: dir1 -> dir2/dir1 dir1/file1 -> dir2/dir1/file1 cp: preserving times for dir2/dir1: Permission denied (EACCES) dir1/file2 -> dir2/dir1/file2 dir1/file3 -> dir2/dir1/file3 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. I'm also puzzled as to why is the message printed after cp copies dir1/file1, not after it copies dir1 into dir2. My cp.exe is dated June 4, 2001, and its size is 128000 bytes, in case this is important.