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:
Sam James
2026-04-07 03:05:30 +01:00
parent 27e9f1cea4
commit 9ac8dbd1f6
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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