Opened 3 years ago

Closed 3 months ago

Last modified 3 months ago

#4648 closed enhancement (fixed)

Have extension packaging scripts (FROM unpackage) check objects ownership

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.0.8
Component: build/upgrade/install Version:
Keywords: pg13 Cc:

Description

As per https://lists.osgeo.org/pipermail/postgis-devel/2020-February/028465.html if we want our packaging scripts to be safe we should check ownership of objects before adding them to our extension.

Objects not owned by a superuser should not be packaged.

Change History (11)

comment:1 by robe, 3 years ago

Component: postgisbuild/upgrade/install
Owner: changed from pramsey to strk

comment:2 by pramsey, 2 years ago

Milestone: PostGIS 3.1.0PostGIS Fund Me

comment:3 by robe, 3 months ago

Milestone: PostGIS Fund MePostGIS 2.5.9

comment:4 by strk, 3 months ago

Milestone: PostGIS 2.5.9
Resolution: fixed
Status: newclosed

comment:5 by Sandro Santilli <strk@…>, 3 months ago

In 06f49e8/git:

Check ownership of functions match that of extension upon packaging

References #4648

comment:6 by Sandro Santilli <strk@…>, 3 months ago

In af7d4657/git:

Check ownership of functions match that of extension upon packaging

References #4648 in 3.3 branch

comment:7 by Sandro Santilli <strk@…>, 3 months ago

In fa756dd/git:

Check ownership of functions match that of extension upon packaging

References #4648 in 3.2 branch (3.2.4dev)

comment:8 by Sandro Santilli <strk@…>, 3 months ago

In a8a9ec7c/git:

Add NEWS item about packaging checked ownership

References #4648 in 3.3 branch (3.3.2dev)

comment:9 by Sandro Santilli <strk@…>, 3 months ago

In 3442f4d/git:

Check ownership of functions match that of extension upon packaging

References #4648 in 3.1 branch (3.1.8dev)

comment:10 by Sandro Santilli <strk@…>, 3 months ago

In 6c1718af/git:

Check ownership of functions match that of extension upon packaging

References #4648 in 3.0 branch (3.0.8dev)

comment:11 by strk, 3 months ago

Milestone: PostGIS 3.0.8
Version: master
Note: See TracTickets for help on using tickets.