Editing files in the guest vagrant VM from the host vagrant machine ??

31 views
Skip to first unread message

Ahmed Medhat

unread,
Dec 2, 2015, 6:15:57 AM12/2/15
to Vagrant
 
 Hi all,

 I would like to edit a vagrant guest VM using the programs in my vagrant host machine.
 So I used the sync folder option by adding that line in the vagrant file:
 config.vm.synced_folder "/net/u/mah/Tacker_guest_machine/", "/opt/stack/tacker"
 
 when I do vagrant up, it should be shared in the /Tacker_guest_machine dir, but I did not find anything. So how to solve this issue ? or if there is other ways to    edit directly the files from my host machine ?


Thanks
Ahmed

Alvaro Miranda Aguilera

unread,
Dec 2, 2015, 6:47:25 AM12/2/15
to vagra...@googlegroups.com
On Thu, Dec 3, 2015 at 12:15 AM, Ahmed Medhat <a.med...@gmail.com> wrote:
> config.vm.synced_folder "/net/u/mah/Tacker_guest_machine/",
> "/opt/stack/tacker"

Hello

On the host this folder does exist?

/net/u/mah/Tacker_guest_machine

What are the permissions?

ls -al /net/u/mah/Tacker_guest_machine

Ahmed Medhat

unread,
Dec 3, 2015, 6:39:52 AM12/3/15
to Vagrant
Hello,

Here are the permissions:

total 16
drwxr-xr-x  2 mah extern  4096 Dec  2 11:47 .
drwxrwxrwx 66 mah ngni   12288 Dec  3  2015 ..
Reply all
Reply to author
Forward
0 new messages