Postinst overrides permissions on /var/lib/mysql-files
Bug #1734129 reported by
Sigurd Urdahl
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
mysql-5.6 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
mysql-5.7 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Description: Ubuntu 14.04.5 LTS
Release: 14.04
mysql-server-5.5:
Installed: 5.5.58-
Candidate: 5.5.58-
Postinst sets 0700 permissions on /var/lib/
DEBIAN/postinst:
135: chmod 700 $mysql_filesdir
Expected behaviour: If directory exists; preserve permissions.
Ownership is treated the same way with a recursive "chown mysql.mysql". Ownership should probably be preserved too.
Changed in mysql-5.7 (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
Hi Sigurd,
this is present up to the latest version of mysql.
So I'm adding tasks for them as well.
I remember having seen the discussion about ucf or something else to be used for that but it was low-gain/ high-effort and therefore so far neglected. I can't find that old bug, I will update here if I do so.
In my (personal and humble) opinion this is a valid, but low prio issue.
Leaving it for Lars (Maintainer) to decide on it.