Can't copy from Windows shares with latest Cygwin update

2006-02-01 Thread J . Eric Bracken
I just updated my machine to Cygwin 1.5.19-4.  Now I find that 
I cannot copy files from a Windows share directory any longer.  
The error message is as follows:

cp //sparky/bracken/myfile.txt .

cp: skipping file `//sparky/bracken/myfile.txt', as it was 
replaced while being copied

Needless to say, the file exists and was not being edited or 
accessed in any way when it was being copied, and I have read 
permissions on it.  I can copy it using a (blecch) Windows 
command shell.

Is there a fix?  Thanks!

--Eric



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



grep: Command not found when starting tcsh

2003-01-16 Thread J. Eric Bracken
Note to the Cygwin-XFree86 team:

I have Cygwin and XFree86 installed, and I was getting annoying messages
of the form

 Grep:  command not found

every time I started up a tcsh shell.  I finally tracked the problem 
down to
the file /etc/profile.d/00xfree.csh.  This script apparently executes 
before
all other login scripts and is intended to put /usr/X11R6/bin on your path.

Unfortunately it includes this line:

 eval echo ${PATH} | grep -q ${X11PATH}

Because it's executing so early on, the PATH hasn't been properly set up 
yet,
and grep was not being found.

By replacing grep with /bin/grep, the problem was resolved.  This had
already been done in the file 00xfree.sh in the same directory so I'm 
surprised
the 00xfree.csh file hadn't been modified too.

--Eric