public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* com1 access denied - win xp
@ 2004-05-20 16:49 Michael Wood
  2004-05-20 17:45 ` Igor Pechtchanski
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael Wood @ 2004-05-20 16:49 UTC (permalink / raw)
  To: cygwin

Hi-ya,

I get an "Access is denied" error message when attempting to create a 
serial port connection through Cygwin, running on Win XP.

In cygwin, when I execute:
	ls -l COM1

I get the following:
	-rw-r--r--    1 mwood    mkgroup-        0 Jan  1  1970 COM1

However, when I execute:
	chmod a+rw COM1

the command exits normally (no error message), but the permissions on 
COM1 stay the same. Furthermore, I do not particularly understand why if 
I am the owner of COM1 (as illustrated by the 'ls -l'), why I would get 
a permission error.

I have successfully created and used a connection on the serial port on 
the same machine through a VMWare session running a Linux Red Hat image. 
I used a very similar procedure above, in that I simply changed the 
permissions on "/dev/ttyS0" to grant all users read and write 
permissions to the serial port.

Help would be greatly appreciated.

- Mike



--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-24 16:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 16:49 com1 access denied - win xp Michael Wood
2004-05-20 17:45 ` Igor Pechtchanski
2004-05-21  0:10   ` Igor Pechtchanski
2004-05-20 18:27 ` Dave Korn
2004-05-24 20:30   ` Michael Wood
2004-05-20 20:44 ` Brian Ford
2004-05-21  1:30   ` Brian Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).