Hi Alvaro,

Thanks for that great tip. It worked !!! I did have to modify it a bit
though. Here's the exact code that I used

config.vm.synced_folder "complete/path/to/folder/restricted",
"/vagrant/path/upto/restricted",
owner: "vagrant",
group: "www-data",
mount_options: ["dmode=750,fmode=640"]

That worked !!

Thanks loads once again !
Ajoo.



On Sun, Feb 26, 2017 at 1:50 AM, Ap Seh <[email protected]> wrote:

> Hi Alvaro,
>
> Thanks loads for the reply. I'll check it out and revert in a while.
> I do have a hunch that this should work.
> Much obliged.
>
> Thanks loads !
> Ajoo
>
>
>
>
>
>
>
> On Sat, Feb 25, 2017 at 10:48 PM, Alvaro Miranda Aguilera <
> [email protected]> wrote:
>
>> hello
>>
>> vagrant is running commands so if nested folder permissions doesn't work
>> is not a vagrant issue
>>
>> if you were running vboxmanage share + mount on the guest wirthout
>> vagrant you will probably hit the same issues.
>>
>> nested mountpoint are usually troublesome, but this may work
>>
>> config.vm.synced_folder ".", "/vagrant",
>>   owner: "vagrant",
>>   group: "www-data",
>>   mount_options: ["dmode=775,fmode=664"]
>>
>> config.vm.synced_folder "restricted", "/vagrant/restricted",
>>   owner: "vagrant",
>>   group: "www-data",
>>   mount_options: ["dmode=750,fmode=640"]
>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> IRC: #vagrant on Freenode
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Vagrant" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/vagrant-up/R2gPXfXxnGQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/vagrant-up/CAHqq0eyFdoikWYGt93w1jgnjZaYrPvQ8GwBrc7jnNK2X
>> uaTXvg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyFdoikWYGt93w1jgnjZaYrPvQ8GwBrc7jnNK2XuaTXvg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CA%2BnFXPE3rTzA9s3c%2BBceSRcVEkV_%3DBCfp1zH%2BGq_6q-0iBA3SQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to