X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Jerome Fong <jfong@successmetricsinc.com>
Subject:  why is my gid different when I run my script under cron?
Date:  Mon, 05 Mar 2007 10:44:56 -0800
Lines: 15
Message-ID: <eshoem$5ka$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi there,

I have a script that works interactively.  However when I schedule it to 
run with cron, I encounter permission and environment issues.  I checked 
and even though my cron process has my user id, my group id is 
different.   Interactively, I have a gid=10545(mkgroup-l-d), but in my 
cron process, my gid=513(None).

Is there something I need to set up for cron to include my group?  Is 
there something else I need to set so cron picks up my environment 
variables like PATH?

thanks,

Jerome


--
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/

