summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2016-09-16 08:51:49 +0200
committerAmy Winston <amynka@gentoo.org>2016-09-27 16:54:40 +0200
commitd49b89d131b5ef87af37c02f4cb280cf5d339147 (patch)
treef2346a990af51753955630464a47b0fb343662e7 /app-emulation/vagrant
parentnet-misc/bird: Version bump to 1.6.1 as requested by Moyaze Shivji in the LIN... (diff)
downloadgentoo-d49b89d131b5ef87af37c02f4cb280cf5d339147.tar.gz
gentoo-d49b89d131b5ef87af37c02f4cb280cf5d339147.tar.bz2
gentoo-d49b89d131b5ef87af37c02f4cb280cf5d339147.zip
app-emulation/vagrant: set permissions on authorized_keys, fixes #592996
Closes: #2339 Bugs: #592996 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-emulation/vagrant')
-rw-r--r--app-emulation/vagrant/vagrant-1.8.5-r1.ebuild (renamed from app-emulation/vagrant/vagrant-1.8.5.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emulation/vagrant/vagrant-1.8.5.ebuild b/app-emulation/vagrant/vagrant-1.8.5-r1.ebuild
index 52460de40fb8..63e8ad6737ec 100644
--- a/app-emulation/vagrant/vagrant-1.8.5.ebuild
+++ b/app-emulation/vagrant/vagrant-1.8.5-r1.ebuild
@@ -72,6 +72,10 @@ all_ruby_prepare() {
# fix rvm issue (bug #474476)
epatch "${FILESDIR}"/${PN}-1.8.1-rvm.patch
+
+ # https://github.com/mitchellh/vagrant/issues/7610 (#592996)
+ sed -e 's/bsd/linux/g ; 57i \ chmod 0600 ~/.ssh/authorized_keys' \
+ -i plugins/guests/linux/cap/public_key.rb || die
}
all_ruby_install() {