3 ms·
I haven't used Vagrant, and I believe I now know why.My daily driver is Win8.I have a Debian VM I do my development on.All files are on the VM because Windows s
by jtreminio 14y ago
I haven't used Vagrant, and I believe I now know why.My daily driver is Win8.I have a Debian VM I do my development on.All files are on the VM because Windows sets all file and folder permissions to 755. This means that if I were to delete the vagrant VM I would also be deleting my files. I am exploring possible solutions to this problem.
- limeblack 14y agoSimilar set up, but I use Cygwin so I can run `startxwin` then run `ssh box -Y` and have have all my applications/workflow running in the Windows taskbar.
- AjithAntony 14y agoAre you saying that when you share a filesystem between your windows 8 host and the Debian guest, that files written from windows have bad perms?
- jtreminio 14y agoIf the files reside on the NTFS Win8 partition, they show up as 755 on Debian. If the files reside on the ext3 partition on the Debian VM, the permissions are fine and even editing the files from Windows, on a Windows IDE does not change the permissions.
- AjithAntony 14y agoJust to clear up my expectations, if I were to try a similar set-up... When you are using NTFS I'm expecting that you are using virtualbox to mount the filesystem on the guest. When you use etx3, how are you sharing the files? Like a samba share? or does the virtualbox drive mount work in the other direction, somehow? FWIW, I do all of my virtualization on ESX, but every time one of these vagrant article comes up I'm tempted to try something local (win 8), to take advantage of the shared filesystem that most of vagrant's magic relies on (as I understand).
- jtreminio 14y agoI actually wrote a tutorial on this: https://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step https://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by... I'll be re-doing it to use apt-get for everything, but for now PHP is compiled. I use samba to share files from the VM to my network, and Windows mounts the share as a local drive.