commit:     74c93ee1902726abdb55e7aa621786b4a0435fe8
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 07:32:33 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 07:59:48 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c93ee1

anacron: install with normal permissions #291565

There's no need to restrict the binary to the root user/group --
it's not like normal users can't run programs themselves, and
access to various state/config files are protected independently.

This also fixes bad +x perms on the /etc config files.

 sys-process/anacron/anacron-2.3-r3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-process/anacron/anacron-2.3-r3.ebuild 
b/sys-process/anacron/anacron-2.3-r3.ebuild
index d68bb79..aa35863 100644
--- a/sys-process/anacron/anacron-2.3-r3.ebuild
+++ b/sys-process/anacron/anacron-2.3-r3.ebuild
@@ -35,8 +35,7 @@ src_install() {
 
        dodoc ChangeLog README TODO
 
-       insinto /usr/sbin
-       insopts -o root -g root -m 0750 ; doins anacron
+       dosbin anacron
 
        insinto /etc
        doins "${FILESDIR}"/anacrontab

Reply via email to