Hello The easiest will be you leave ".", "/vagrant" as is
and you create more synced_folder for each requirement you have. you can have 2 or 3, or as many as you need. Alvaro. On Wed, Feb 22, 2017 at 4:36 AM, Ap Seh <[email protected]> wrote: > Hi, > > I have set the folder permissions of my synced folder in the vagrant file > as > > config.vm.synced_folder ".", "/vagrant", > owner: "vagrant", > group: "www-data", > mount_options: ["dmode=775,fmode=664"] > > I want to selectively change the folder permissions of the folder > *restricted* in this path /vagrant/www/myproject/*restricted/. *Say I > wish to change that too 750, and the files inside it to 640, how can I > accomplish this? > > Thanks loads > > -- > 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/413b5878-b115-476a-9050-65d24e0bb20d%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/413b5878-b115-476a-9050-65d24e0bb20d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0exk6nz8m28H_BS5CgnQBD6Gp5iRwZKZoQYQ%3D13a5M%3DVRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
