Re: vacuumdb and pg_dump are not running under cron - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: vacuumdb and pg_dump are not running under cron
Date
Msg-id 20030512200227.GJ1708@tishler.net
Whole thread Raw
In response to Re: vacuumdb and pg_dump are not running under cron  (Jason Tishler <jason@tishler.net>)
Responses Re: vacuumdb and pg_dump are not running under cron
List pgsql-cygwin
Jeff,

On Mon, May 12, 2003 at 03:55:17PM -0400, Jeff Lu wrote:
> From $ id
> uid=500(Administrator) gid=513(None) groups=544(Administrators),545(Users)
>
> From cron
> uid=500(Administrator) gid=513(None) groups=513(None),545(Users)
>
> The groups are different.  Why is that?

Sorry, I don't know.  Is your /etc/passwd and /etc/group files set up
correctly?  Is cron really switching users correctly?

BTW, I get the following:

    $ id
    uid=19695(jt) gid=10513(Domain Users) groups=544(Administrators),545(Users),10513(Domain Users)

    $ cat /tmp/id.txt
    uid=19695(jt) gid=10513(Domain Users) groups=544(Administrators),545(Users),10513(Domain Users)

Sounds like your Cygwin setup is not correct.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: vacuumdb and pg_dump are not running under cron
Next
From: Jason Tishler
Date:
Subject: Re: vacuumdb and pg_dump are not running under cron