Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20050209034145.33007.qmail@web30709.mail.mud.yahoo.com> Date: Tue, 8 Feb 2005 19:41:45 -0800 (PST) From: Jane Doe Subject: Re: strange cp behavior with (coreutils 5.2.1) To: cygwin AT cygwin DOT com In-Reply-To: <6.2.0.14.0.20050208222201.04e34da8@pop.prospeed.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes --- Larry Hall wrote: > 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. I don't really have a problem with the lack of access, it's the fact that cp complains about the file with .exe suffix. Everyone has read&execute privileges for the directory of the file so cp should know the file is there and unreadable. Thanks. __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com -- 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/