- Notifications
You must be signed in to change notification settings - Fork28
Commit7bae0ad
committed
Prevent running pg_basebackup as root
Similarly to pg_upgrade, pg_ctl and initdb, a root user is able to use--version and --help, but cannot execute the actual operation to avoidthe creation of files with permissions incompatible with thepostmaster.This is a behavior change, so not back-patching is done.Author: Ian BarwickDiscussion:https://postgr.es/m/CABvVfJVqOdD2neLkYdygdOHvbWz_5K_iWiqY+psMfA=FeAa3qQ@mail.gmail.com1 parent93745f1 commit7bae0ad
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2077 | 2077 |
| |
2078 | 2078 |
| |
2079 | 2079 |
| |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
2080 | 2096 |
| |
2081 | 2097 |
| |
2082 | 2098 |
| |
|
0 commit comments
Comments
(0)