delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/08/22:41:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <dont_know_at_all AT yahoo DOT com>
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
X-IsSubscribed: yes

--- Larry Hall
<lh-no-personal-replies-please AT cygwin DOT com> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019