mirror of https://github.com/borgbackup/borg.git
Vagrantfile: cygwin: Fix permissions as required by sshd.
This commit is contained in:
parent
b09e4eff86
commit
54a60c5fc8
|
@ -200,6 +200,7 @@ def packages_cygwin(version)
|
||||||
cd /d C:\\cygwin\\CygWin\\bin
|
cd /d C:\\cygwin\\CygWin\\bin
|
||||||
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
||||||
bash -c "ssh-host-config --no"
|
bash -c "ssh-host-config --no"
|
||||||
|
bash -c "chown sshd_server /cygdrive/c/cygwin/CygWin/var/empty"
|
||||||
' > /cygdrive/c/cygwin/install.bat
|
' > /cygdrive/c/cygwin/install.bat
|
||||||
|
|
||||||
echo "alias mkdir='mkdir -p'" > ~/.profile
|
echo "alias mkdir='mkdir -p'" > ~/.profile
|
||||||
|
|
Loading…
Reference in New Issue