Drop legacy %post chmod /etc/sudoers
The RPM permissions have been set at `0440` for a long, long time. This `%post` invocation dates beyond the import from CVS in 2004. Further, this change will actually *undo* local admin changes to use e.g. `0600` or something if they want to harden it further. This is similar to: https://src.fedoraproject.org/rpms/nfs-utils/pull-request/1 I'm just making this change as it shows up as error spew when doing `rpm-ostree compose tree`.
This commit is contained in:
parent
ddbf4e5ddd
commit
29adaddcb8
@ -192,11 +192,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%license doc/LICENSE
|
%license doc/LICENSE
|
||||||
%exclude %{_pkgdocdir}/ChangeLog
|
%exclude %{_pkgdocdir}/ChangeLog
|
||||||
|
|
||||||
|
|
||||||
# Make sure permissions are ok even if we're updating
|
|
||||||
%post
|
|
||||||
/bin/chmod 0440 /etc/sudoers || :
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc plugins/sample/sample_plugin.c
|
%doc plugins/sample/sample_plugin.c
|
||||||
|
Loading…
Reference in New Issue
Block a user