Bug 1989821
| Summary: | /etc/mailman has wrong permissions 2755 instead of 2775, blocking "genaliases" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Peter Bieringer <pb> |
| Component: | mailman-2.1-module | Assignee: | Martin Osvald 🛹 <mosvald> |
| Status: | ASSIGNED --- | QA Contact: | František Hrdina <fhrdina> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | fhrdina, jorton |
| Target Milestone: | beta | Keywords: | Regression, Reopened, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-04 07:27:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Peter Bieringer
2021-08-04 06:22:53 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Reopening this, this should have been fixed already by the below changes in versions 3:2.1.29-6 and 3:2.1.29-7, but it looks like a typo is behind 2755 instead of 2775 (the %changelog itself mentions that correctly):
3:2.1.29-6:
~~~
-Release: 5%{?dist}
+Release: 6%{?dist}
...
-# no need for setgid in configdir
-chmod %{buildroot}/%{configdir} -s -R
...
%changelog
-* Thu Apr 23 2020 Pavel Zhukov <pzhukov> - 3:2.1.29-5
+* Thu Apr 23 2020 Pavel Zhukov <pzhukov> - 3:2.1.29-6
- Update run directory references (#1805954)
+- fix #1188043 - set 2775 permission for /etc/mailman
~~~
3:2.1.29-7:
~~~
-Release: 6%{?dist}
+Release: 7%{?dist}
...
-%dir %attr(755,root,%{mmgroup}) %{configdir}
+%dir %attr(2755,root,%{mmgroup}) %{configdir}
...
+* Wed May 6 2020 Pavel Zhukov <pzhukov> - 3:2.1.29-7
+- Change attr of /etc/mailman
~~~
The +g right is needed as stated in RHEL7 bug 1188043 for /etc/mailman/aliases.tmp creation:
~~~
Actual results:
strace -e open shows:
open("/etc/mailman/aliases", O_RDONLY) = 3
open("/etc/mailman/aliases.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
open("/var/lock/mailman/creator", O_RDONLY) = 3
~~~
Thanks for reporting this repeatedly.
|