why is my gid different when I run my script under cron?
Jerome Fong
jfong@successmetricsinc.com
Tue Mar 6 01:46:00 GMT 2007
I forgot to note that the directory I am writing into is a shared
directory on a different machine which only my windows XP user has
privileges to write into. But my uid and gid matches when I run
interactively and in batch, so I'm confused. Is there anything else it
is restricting?
thanks,
Jerome
Jerome Fong wrote:
> 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/
More information about the Cygwin
mailing list