Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 17 May 2001 14:41:44 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Suiqd as service [was: Re: New on sources: cygrunsrv-0.92]
Message-ID: <20010517144144.U31266@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <3B03D059.14837.88F44D3@localhost> <001001c0dec3$d975aa10$0200a8c0@lifelesswks>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <001001c0dec3$d975aa10$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Thu, May 17, 2001 at 09:23:43PM +1000

On Thu, May 17, 2001 at 09:23:43PM +1000, Robert Collins wrote:
> From: "Gerrit P. Haase" <gerrit.haase@t-online.de>
> >  Win32 Process Id = 0x220 : Cygwin Process Id = 0x220 :
> >  starting service `Cygwin squid' failed: execv: 1, Not owner.
> >
> these messages are cygrun messages. AFAICT Squid was never started.
> 
> > Ooops, s.th. with permissions...
> >
> > I don't understand this.
> >
> > Why am I 'not owner', cron, inetd, cygipc, all are running as
> services,
> > no problems at all.
> > What am i not owner of?
> 
> I'd check the owner and mode of squid.exe.
> Rob

I can't think of another reason. In the context of `execv', EPERM
(aka "Not owner") is only returned if the executable can't be opened.
For example, you start the service under user account foo but
squid.exe is owned by `gerrit' with 700 permissions.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

