strange cp behavior with (coreutils 5.2.1)

Larry Hall
Wed Feb 9 10:43:00 GMT 2005

At 10:15 PM 2/8/2005, you wrote:
>$ net use \\\\shiva /u:shiva\\administrator
>$ cp //shiva/c\$/cvsmq/eqgame.h .
>cp: cannot open `//shiva/c$/cvsmq/eqgame.h.exe' for
>reading: No such file or directory
>$ net use \\\\shiva /d
>$ net use \\\\shiva /u:develop\\dkaa
>$ cp -v //shiva/c\$/cvsmq/eqgame.h .
>`//shiva/c$/cvsmq/eqgame.h' -> `./eqgame.h'
>I think this used to work when cp was part of
>fileutils.  The file itself has owner (develop\dkaa)
>read permissions but Everyone has no explicit
>permissions.  Giving Everyone read permissions makes
>it work.

That doesn't sound strange to me at all.  If you don't have any access 
to the file as the user of the share, I wouldn't expect to be able to 
access the file.  

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list