This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.13/14: Problems with Service running under SYSTEM account
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Apr 2005 14:43:17 +0200
- Subject: Re: 1.5.13/14: Problems with Service running under SYSTEM account
- References: <200504061123.j36BNRuQ020101@mx3.redhat.com>
- Reply-to: cygwin at cygwin dot com
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html