Re: vacuumdb and pg_dump are not running under cron
| От | Jason Tishler |
|---|---|
| Тема | Re: vacuumdb and pg_dump are not running under cron |
| Дата | |
| Msg-id | 20030512200227.GJ1708@tishler.net обсуждение |
| Ответ на | Re: vacuumdb and pg_dump are not running under cron (Jason Tishler <jason@tishler.net>) |
| Ответы |
Re: vacuumdb and pg_dump are not running under cron
|
| Список | 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 по дате отправления: