1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-22 14:11:27 +00:00

Vagrantfile: cygwin: Fix permissions as required by sshd.

This commit is contained in:
Hartmut Goebel 2017-06-24 17:43:24 +02:00
parent b09e4eff86
commit 54a60c5fc8

1
Vagrantfile vendored
View file

@ -200,6 +200,7 @@ def packages_cygwin(version)
cd /d C:\\cygwin\\CygWin\\bin
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
bash -c "ssh-host-config --no"
bash -c "chown sshd_server /cygdrive/c/cygwin/CygWin/var/empty"
' > /cygdrive/c/cygwin/install.bat
echo "alias mkdir='mkdir -p'" > ~/.profile