From 799f36ebc86736924064d36b8701f0f2ac1d8c68 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Sun, 25 Feb 2018 11:45:10 -0500 Subject: [PATCH] synced_folder: add `sftp-server` gentoo folder Gentoo stores sftp-server under /usr/lib/misc/. Thanks to https://github.com/aidanharris for the patch. Fixes #92 --- lib/vagrant-sshfs/synced_folder.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant-sshfs/synced_folder.rb b/lib/vagrant-sshfs/synced_folder.rb index b12f5cd..9bca486 100644 --- a/lib/vagrant-sshfs/synced_folder.rb +++ b/lib/vagrant-sshfs/synced_folder.rb @@ -113,6 +113,7 @@ def find_executable(name) ENV['PATH'] += ':/usr/libexec/openssh' # Linux (Red Hat Family) ENV['PATH'] += ':/usr/lib/openssh' # Linux (Debian Family) ENV['PATH'] += ':/usr/lib/ssh' # Linux (Arch Linux Family) + ENV['PATH'] += ':/usr/lib/misc' # Linux (Gentoo Family) ENV['PATH'] += ':/usr/libexec/' # Mac OS X end