delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/07/08:39:39

From: mbehrens AT iserv DOT net (Matt Behrens)
Subject: Re: bug in cp: Permission denied
7 Nov 1998 08:39:39 -0800 :
Message-ID: <3642E966.4CBACCCC.cygnus.gnu-win32@iserv.net>
References: <19981104015114 DOT 23904 DOT rocketmail AT send1e DOT yahoomail DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Actually, that doesn't make much sense.  COM1, LPT1, AUX, and their
brethren  operate with different DOS semantics than drive letters.  This
is evidenced by the fact that in any DOS command prompt,

	C:\> COPY FOO.TXT A
		and
	C:\> COPY FOO.TXT A:
		are different, but

	C:\> COPY FOO.TXT AUX
		and
	C:\> COPY FOO.TXT AUX:
		are identical.

Earnie Boyd wrote:
> 
> b is a device under Win32.  The FAQ states that files named similar to
> a MSDOS device will give you problems.  Actually, I'm surprised that
> you didn't get an error with a also.
> 
> ---John Wiersba <John DOT Wiersba AT medstat DOT com> wrote:
> >
> > What's up with this?
> >
> > touch a
> > cp -p a b
> > cp: b: Permission denied
> >
> > The copy actually works, and the timestamp is copied, but not the
> > permissions.
> >
> > I'm running b19 with coolview on NT with everything binary-mounted.
> >
> > John Wiersba (john DOT wiersba AT medstat DOT com)
> > -
> > For help on using this list (especially unsubscribing), send a
> message to
> > "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> >
> 
> ==
> -                  \\||//
> -------------o0O0--Earnie--0O0o--------------
> --          earnie_boyd AT yahoo DOT com          --
> -- http://www.freeyellow.com/members5/gw32 --
> ----------------ooo0O--O0ooo-----------------
> 
> PS: Newbie's, you should visit my page.
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".

-- 
  __
 /-/    Matt Behrens
( (     mbehrens AT iserv DOT net
 ) )    Iserv Network Operations Center
/_/     http://inoc.iserv.net/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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