[MDEV-25046] mariadb_repo_setup default 022 umask assumption is a problem on hardened 027 systems Created: 2021-03-03 Updated: 2021-03-29 Resolved: 2021-03-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Nanni | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
A failure was seen in
repository installation script on ubuntu. The failure is related to the script not finding the MariaDB public key mariadb-keyring-2019.gpg
Apparently the default umask 0022 assumption by the script creates a problem on hardened systems with umask 0027.
|
| Comments |
| Comment by Daniel Bartholomew [ 2021-03-29 ] | |
|
Uploaded updated version of the script with a line to chmod the keyring to the correct permissions. | |
| Comment by Daniel Bartholomew [ 2021-03-29 ] | |
|
sha256sum of the updated version is:
| |
| Comment by Daniel Bartholomew [ 2021-03-29 ] | |
|
I believe this is now fixed. If not, please reopen with details to reproduce. Thanks. |