delete-pr must be run by the GNATS user (by default gnats).
Note that deleting PRs is generally a very bad idea. It flies in the face of the very idea of using a Problem Reporting system and should only be considered in special situations. Such a situation might for instance arise if a mail loop causes mass duplicate submissions or if you receive spam to the PR submission e-mail address.
For network access via gnatsd, it contains a colon-separated list of strings that describe the remote database, in the form
Any of the fields may be omitted, but at least one colon must appear; otherwise, the value is assumed to be the name of a local database.
If GNATSDB is not set and the --database option is not supplied, it is assumed that the database is local and that its name is default.
databases(5), dbconfig(5), delete-pr(8), edit-pr(1) file-pr(8), gen-index(8), gnats(7), gnatsd(8), mkcat(8), mkdb(8), pr-edit(8), query-pr(1), queue-pr(8), send-pr(1).
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.