delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/20/13:44:16

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
To: cygwin AT cygwin DOT com
From: Michael Wood <mwood AT broadcom DOT 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
X-Complaints-To: usenet AT sea DOT gmane DOT 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/

- Raw text -


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