diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-11 13:01:47 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-11 13:02:19 +0200 |
commit | 1356682e697263cf3cbf3f252365a5aaac55350a (patch) | |
tree | 45b8f5c917ecbc19af638712387ac6322e724a16 /app-admin/sudo/sudo-9999.ebuild | |
parent | www-apps/airdcpp-webui: remove old (diff) | |
download | gentoo-1356682e697263cf3cbf3f252365a5aaac55350a.tar.gz gentoo-1356682e697263cf3cbf3f252365a5aaac55350a.tar.bz2 gentoo-1356682e697263cf3cbf3f252365a5aaac55350a.zip |
app-admin/sudo: Fixed permissions of /var/db/sudo
Closes: https://bugs.gentoo.org/652958
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-admin/sudo/sudo-9999.ebuild')
-rw-r--r-- | app-admin/sudo/sudo-9999.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild index 8897a7115582..82d9551bad8b 100644 --- a/app-admin/sudo/sudo-9999.ebuild +++ b/app-admin/sudo/sudo-9999.ebuild @@ -175,12 +175,13 @@ src_install() { pamd_mimic system-auth sudo auth account session - keepdir /var/db/sudo - fperms 0700 /var/db/sudo + keepdir /var/db/sudo/lectured + fperms 0700 /var/db/sudo/lectured + fperms 0711 /var/db/sudo #652958 # Don't install into /var/run as that is a tmpfs most of the time # (bug #504854) - rm -rf "${D}"/var/run + rm -rf "${ED}"/var/run } pkg_postinst() { |