This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.13/14: Problems with Service running under SYSTEM account

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
Red Hat, Inc.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]