saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2021-09-27 14:20:53 +03:00
parent d4eccb8728
commit 3c7113fa30
3 changed files with 7 additions and 67 deletions

View File

@@ -260,6 +260,8 @@ maybe chmod 0644 'clamav-unofficial-sigs/os.conf'
maybe chown 'amavis' 'clamav-unofficial-sigs/user.conf'
maybe chgrp 'amavis' 'clamav-unofficial-sigs/user.conf'
maybe chmod 0644 'clamav-unofficial-sigs/user.conf'
maybe chown 'amavis' 'clamd.conf'
maybe chgrp 'amavis' 'clamd.conf'
maybe chmod 0640 'clamd.conf'
maybe chown 'amavis' 'clamd.conf.rpmnew'
maybe chgrp 'amavis' 'clamd.conf.rpmnew'
@@ -267,10 +269,14 @@ maybe chmod 0644 'clamd.conf.rpmnew'
maybe chown 'amavis' 'clamd.conf.rpmsave'
maybe chgrp 'amavis' 'clamd.conf.rpmsave'
maybe chmod 0644 'clamd.conf.rpmsave'
maybe chown 'amavis' 'clamd.d'
maybe chgrp 'amavis' 'clamd.d'
maybe chmod 0755 'clamd.d'
maybe chown 'amavis' 'clamd.d/amavisd.conf'
maybe chgrp 'amavis' 'clamd.d/amavisd.conf'
maybe chmod 0644 'clamd.d/amavisd.conf'
maybe chown 'amavis' 'clamd.d/scan.conf'
maybe chgrp 'amavis' 'clamd.d/scan.conf'
maybe chmod 0644 'clamd.d/scan.conf'
maybe chown 'amavis' 'clamd.d/scan.conf.rpmnew'
maybe chgrp 'amavis' 'clamd.d/scan.conf.rpmnew'
@@ -5052,7 +5058,6 @@ maybe chmod 0644 'yum.repos.d/epel-playground.repo'
maybe chmod 0644 'yum.repos.d/epel-testing-modular.repo'
maybe chmod 0644 'yum.repos.d/epel-testing.repo'
maybe chmod 0644 'yum.repos.d/epel.repo'
maybe chmod 0644 'yum.repos.d/getpagespeed-extras.repo.rpmsave'
maybe chmod 0640 'yum.repos.d/immortal_immortal.repo'
maybe chmod 0640 'yum.repos.d/lynis.repo'
maybe chmod 0640 'yum.repos.d/mariadb.repo'