From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Kukulies To: cygwin@sourceware.cygnus.com Subject: cp -r produces junk files and has permission probs Date: Sat, 31 Jul 1999 18:34:00 -0000 Message-ID: <199907191815.UAA31046@gil.physik.rwth-aachen.de> X-SW-Source: 1999-07n/msg00357.html Message-ID: <19990731183400.7o1U05ViOoobxqQU_unIredu7VAIhGLv5EXiMT0WaKs@z> I'm trying to cp -r a tree from a local drive to a network drive F: which is mounted as follows: Device Directory Type Flags f: /f native text!=binary \\.\tape1: /dev/st1 native text!=binary \\.\tape0: /dev/st0 native text!=binary \\.\b: /dev/fd1 native text!=binary \\.\a: /dev/fd0 native text!=binary d: /d native text!=binary C: / native text!=binary That is a web server directory exported via SAMBA on that unix (FreeBSD) web server. While writing I'm getting a buncha permission denied messages and after the cp -r only one directory contains files while the other contains this: F:\probanden\2.06.0\suites\0554412>ls -l total 219 -rw-r--r-- 1 0 everyone 34816 Jul 19 20:03 0554412.cl -rw-r--r-- 1 0 everyone 154624 Jul 19 20:03 0554412.exa -rw-r--r-- 1 0 everyone 154624 Jul 19 20:03 0554412.exl crw-r--r-- 0 0 everyone 0, 0 Jan 1 1970 0554412.exp -rw-r--r-- 1 0 everyone 445 Jul 19 20:03 0554412.log -rw-r--r-- 1 0 everyone 0 Jul 19 20:03 0554412.ok -rw-r--r-- 1 0 everyone 0 Jul 19 20:03 0554412.ppl -rw-r--r-- 1 0 everyone 3231 Jul 19 20:03 dablog.log -rw-r--r-- 1 0 everyone 1665 Jul 19 20:03 diblegeo.exa -rw-r--r-- 1 0 everyone 16384 Jul 19 20:03 diblegeo.exo -rw-r--r-- 1 0 everyone 0 Jul 19 20:03 nutform5.exa -rw-r--r-- 1 0 everyone 57344 Jul 19 20:03 nutform5.exo -rw-r--r-- 1 0 everyone 3687 Jul 19 20:03 stobugeo.exa -rw-r--r-- 1 0 everyone 16384 Jul 19 20:03 stobugeo.exo (see the character device?) The fourth but last file (0 bytes) was one that got permission errors The file that got a character device has 0 bytes in the source directory but there are othe files with 0 bytes that got copied as normal files. Should I revert to XCOPY? Nah, don't tell me :-) -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com