Subject: Re: bug in cp: Permission denied
From: [email-masked] (Matt Behrens)

7 Nov 1998 08:39:39 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

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 <[email-masked]> 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 ([email-masked])
> > -
> > For help on using this list (especially unsubscribing), send a
> message to
> > "[email-masked]" with one line of text: "help".
> >
> 
> ==
> -                  \\||//
> -------------o0O0--Earnie--0O0o--------------
> --          [email-masked]          --
> -- 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
> "[email-masked]" with one line of text: "help".

-- 
  __
 /-/    Matt Behrens
( (     [email-masked]
 ) )    Iserv Network Operations Center
/_/     http://inoc.iserv.net/
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".