Re: Problems with pg_dump - Mailing list pgsql-novice

From Tom Lane
Subject Re: Problems with pg_dump
Date
Msg-id 23439.1040066385@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with pg_dump  (papapep <papapep@gmx.net>)
List pgsql-novice
papapep <papapep@gmx.net> writes:
> I forgot to tell you that the DATABASE.out file is a read only file. I
> don-t know if its important, but....

You mean you're doing
    pg_dump ... >DATABASE.out
where DATABASE.out already exists and is marked read-only?  No wonder
it's failing.  Read-only status wouldn't be much protection if it didn't
fail, no?

Remove the old file, or chmod it to let you overwrite it.

            regards, tom lane

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Problems with pg_dump
Next
From: Brian Scandale
Date:
Subject: Redhat Database ???