Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: com1 access denied - win xp Date: Thu, 20 May 2004 17:23:05 +0100 Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/