Description of problem: Something breaks the permissions on /var/cache/man: The man-db rpm contains this: # rpm -qlv man-db | grep var/cache drwxr-sr-x 2 root man 0 Aug 4 02:37 /var/cache/man [Note the permissions and the group] On an installed system, I am seeing this: # ls -ld /var/cache/man drwxr-xr-x. 86 root root 4096 Nov 21 12:34 /var/cache/man Version-Release number of selected component (if applicable): man-db-2.7.6.1-5.fc27 How reproducible: Always Steps to Reproduce: 1. rpm -e man-db 2. rm -rf /var/cache/man 3. dnf install man-db 4. ls -ld /var/cache/man drwxr-xr-x. 86 root root 4096 Nov 21 13:27 /var/cache/man Actual results: Permission/ownership of the installed /var/cache/man does not match the permissions/ownership coded into the rpm. Expected results: permissions/ownership of the installation to match the rpm. Additional info: So far this bug is reproducible on both fc26 and fc27.
It's probably time to change permissions of /var/cache/man to root:root and drop setgid bit. Starting with version 2.7.6 man-db resets the permissions, and I don't see any reason why cache files and dirs should be owned by "man" group.
Commits: f27, master: https://src.fedoraproject.org/rpms/man-db/c/b9daeebba2cd39ef543018202e42b875036f755a f26: https://src.fedoraproject.org/rpms/man-db/c/d238b49d5fdf804b018b6c9c1e70f79d8d62d90f?branch=f26
Sorry, correct links: f27, master: https://src.fedoraproject.org/rpms/man-db/c/71f8f47846348cf6515a7bae0b6ab7126b0e7e70 f26: https://src.fedoraproject.org/rpms/man-db/c/6722ef83e7b98fcd1d214a4c787bf3e4acd533bb?branch=f26
man-db-2.7.6.1-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6aae17af58
man-db-2.7.6.1-7.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0fbd645750
man-db-2.7.6.1-9.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6aae17af58
man-db-2.7.6.1-7.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0fbd645750
man-db-2.7.6.1-9.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
man-db-2.7.6.1-7.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.