summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-10 03:32:33 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-10 03:59:48 -0400
commit74c93ee1902726abdb55e7aa621786b4a0435fe8 (patch)
tree1892f4c3cc644d103eb50a606496e0114a4476c0
parentanacron: init.d: do not require clock/hostname #546138 (diff)
downloadgentoo-74c93ee1902726abdb55e7aa621786b4a0435fe8.tar.gz
gentoo-74c93ee1902726abdb55e7aa621786b4a0435fe8.tar.bz2
gentoo-74c93ee1902726abdb55e7aa621786b4a0435fe8.zip
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.
-rw-r--r--sys-process/anacron/anacron-2.3-r3.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-process/anacron/anacron-2.3-r3.ebuild b/sys-process/anacron/anacron-2.3-r3.ebuild
index d68bb7913a6..aa35863c8a0 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