www.delorie.com/archives/browse.cgi | search |
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 |
Date: | Wed, 6 Apr 2005 14:43:17 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.5.13/14: Problems with Service running under SYSTEM account |
Message-ID: | <20050406124317.GK1471@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <200504061123 DOT j36BNRuQ020101 AT mx3 DOT redhat DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <200504061123.j36BNRuQ020101@mx3.redhat.com> |
User-Agent: | Mutt/1.4.2i |
On Apr 6 23:22, Kevin Walker wrote: > I'm having problems running my service under CYGWIN 1.5.13/14. The service > runs under the local system account and takes a filename via the service's > command line. This filename is then opened using fopen. If I revert to > CYGWIN 1.5.12, fopen can read the file. However when I try using 1.5.13/14 > (and today's build), it fails with "Bad file descriptor". > > If I change the service to run under a non-system account (or run the > process on the command line), fopen can read the file under 1.5.13/14. > > Any ideas why CYGWIN no longer likes the SYSTEM account? Well, it works fine for me. What you can try is checking the whole directory tree from the drive's root dir down to the file for giving read (and perhaps execute) permission to SYSTEM or the Administrators group. The last resort is setting CYGWIN=notraverse for the service. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |