mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/chrony: drop unnecessary fperms -R
fowners + fperms are needed, but fperms -R affects the .keep file from keepdir, and we shouldn't need -R for either call here as they're empty apart from what we just created. Closes: https://bugs.gentoo.org/941137 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -220,8 +220,8 @@ src_install() {
|
||||
# Prepare a directory for the chrony.drift file (a la ntpsec)
|
||||
# Ensures the environment is sane on new installs
|
||||
# bug #711058
|
||||
fowners -R ntp:ntp /var/{lib,log}/chrony
|
||||
fperms -R 770 /var/lib/chrony
|
||||
fowners ntp:ntp /var/{lib,log}/chrony
|
||||
fperms 770 /var/lib/chrony
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
|
||||
@@ -220,8 +220,8 @@ src_install() {
|
||||
# Prepare a directory for the chrony.drift file (a la ntpsec)
|
||||
# Ensures the environment is sane on new installs
|
||||
# bug #711058
|
||||
fowners -R ntp:ntp /var/{lib,log}/chrony
|
||||
fperms -R 770 /var/lib/chrony
|
||||
fowners ntp:ntp /var/{lib,log}/chrony
|
||||
fperms 770 /var/lib/chrony
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
|
||||
Reference in New Issue
Block a user