pg_pathman icon indicating copy to clipboard operation
pg_pathman copied to clipboard

why create_single_partition_internal has to escalate privilege

Open zxwsbg opened this issue 3 years ago • 0 comments

in master branch: pg_pathman/v1.5.12/src/partition_creation.c:765 The privilege will escalate to superuser and I wonder why this should happen. Normal user can also bypass privilege check in the following function and use superuser may cause security question.

zxwsbg avatar Dec 17 '21 08:12 zxwsbg