Re: pg_dump fails on 7.4 Postgres

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: "Jimmie H(dot) Apsey" <japsey(at)futuredental(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump fails on 7.4 Postgres
Date: 2005-05-10 15:35:18
Message-ID: m2br7jaybt.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jimmie H. Apsey" <japsey(at)futuredental(dot)com> writes:

> This may be my second posting but I think I've done it correctly this time.
> At this point, I am unable to do a pg_dump using our new Rec Hat
> Enterprise Linux AS 4 version of Postgres which is version 7.4.
> Here's what I get when I try to do a pg_dump of our database:
> ---------------------------------------------------------------------------------------------------------------------------
> [~]$
> [ ~]$ /usr/bin/pg_dump dcf_20050404 >& /~/dcf_20050404_`date +%y%m%d`.dmp
> audit(1115732852.025:0): avc: denied { write } for pid=11023
> exe=/usr/bin/pg_dump path=/~/dcf_20050404_050510.dmp
> dev=sda3 ino=5522308 scontext=user_u:system_r:postgresql_t
> tcontext=user_u:object_r:file_t tclass=file

Looks like your security settings aren't allowing pg_dump to write
files. You should probably talk to Red Hat about how to fix them.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-05-10 15:39:27 Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL
Previous Message Jim C. Nasby 2005-05-10 15:32:45 Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL