Bug 1515823 - /var/cache/man permissions/ownerships broken
Summary: /var/cache/man permissions/ownerships broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: man-db
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-21 12:36 UTC by Ralf Corsepius
Modified: 2017-12-12 14:48 UTC (History)
2 users (show)

Fixed In Version: man-db-2.7.6.1-7.fc26 man-db-2.7.6.1-9.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 14:48:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2017-11-21 12:36:42 UTC
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.

Comment 1 Nikola Forró 2017-11-21 17:13:09 UTC
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.

Comment 4 Fedora Update System 2017-11-22 12:17:30 UTC
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

Comment 5 Fedora Update System 2017-11-22 12:17:57 UTC
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

Comment 6 Fedora Update System 2017-11-22 21:43:01 UTC
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

Comment 7 Fedora Update System 2017-11-25 01:33:41 UTC
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

Comment 8 Fedora Update System 2017-12-12 11:16:21 UTC
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.

Comment 9 Fedora Update System 2017-12-12 13:40:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.