Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Michael Wood <mwood@broadcom.com>
Subject: com1 access denied - win xp
Date: Thu, 20 May 2004 17:23:05 +0100
Lines: 29
Message-ID: <c8im1b$rri$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 193.115.161.252
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

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/

