Bug 1652560 - /etc/rt/RT_SiteConfig.d created without search permission
Summary: /etc/rt/RT_SiteConfig.d created without search permission
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rt
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-22 11:25 UTC by Ian Collier
Modified: 2018-12-10 23:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-12-10 23:19:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ian Collier 2018-11-22 11:25:49 UTC
After installing the rt package:

$ ls -ald /etc/rt/RT_SiteConfig.d
drw-r----- 2 apache apache 47 Nov 20 18:06 /etc/rt/RT_SiteConfig.d

We need to manually add 'x' permission before putting config files
in there.  But if rt is upgraded via dnf/rpm then the permissions
get reset and suddenly RT loses its configuration until we figure out
the problem and re-add the permissions.

This seems to be because of the following line in the spec file:

%config(noreplace) %attr(0640,apache,apache) %{_sysconfdir}/%{name}/RT_*

Seen in: 
rt-4.4.2-2.fc28.noarch.rpm
rt-4.4.3-1.fc29.noarch.rpm

Comment 1 Ralf Corsepius 2018-11-24 05:01:44 UTC
Thanks for the report.

I am going to change the perms on /etc/rt/RT_SiteConfig.d to 0750.

Comment 2 Fedora Update System 2018-11-24 05:14:12 UTC
rt-4.4.2-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7d4526adda

Comment 3 Fedora Update System 2018-11-24 05:14:17 UTC
rt-4.4.3-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-805305bb71

Comment 4 Fedora Update System 2018-11-25 04:09:01 UTC
rt-4.4.2-4.fc28 has been pushed to the Fedora 28 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-2018-7d4526adda

Comment 5 Fedora Update System 2018-11-25 04:44:56 UTC
rt-4.4.3-2.fc29 has been pushed to the Fedora 29 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-2018-805305bb71

Comment 6 Randy Barlow 2018-12-10 23:19:57 UTC
An update associated with this bug has been pushed to stable.


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