BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs

From: "James Bellinger" <jfb(at)zer7(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs
Date: 2010-01-13 20:58:38
Message-ID: 201001132058.o0DKwcGc035187@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5275
Logged by: James Bellinger
Email address: jfb(at)zer7(dot)com
PostgreSQL version: 8.4.2
Operating system: Ubuntu 9.10
Description: validate_exec in port/exec.c only reads u/g/o, not ACLs
Details:

Howdy,

I'm not certain of the actual *purpose* for this function even checking in
the first place, but the result is that, if Postgres gets its access via an
ACL, it will say 'invalid binary' here and there, will not be able to find
its own executables, etc. I can see no purpose for this function.

That said, currently, the reason it gives these errors is that it only
checks user/group/other. Linux ACLs are not checked. If this function really
needs to exist as is, this ought to be fixed.

Thanks

James

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-01-13 21:21:53 Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs
Previous Message Vincenzo Romano 2010-01-13 19:10:53 BUG #5274: [PL/PgSQL] EXECUTE ... USING variable expansion