hello, /vagrant is the default share between the folder that have the
Vagrantfile and the guest vm.

if you need to change the permissions, my suggestion would be create a new
pair, and mount it with the permissions and path you need

all the info is here:

https://docs.vagrantup.com/v2/synced-folders/basic_usage.html


On Sat, Jan 10, 2015 at 6:56 AM, Jorge Copia <[email protected]> wrote:

> Hello, I try to upload a file from my computer to Virtual Machine, but my
> browser show this message:
> >> Unable to write in the "/vagrant/web/public/campo/versions/271/import/"
> directory
>
> Inner vagrant ssh, I try to change owner www directory.
> # chown apache. -R /vagrant
>
> And when a list permission show that:
> drwxrwxrwx 1 vagrant vagrant  4096 Dec 17 17:26 app
> -rwxrwxrwx 1 vagrant vagrant  2524 Aug 11 15:20 artisan
> drwxrwxrwx 1 vagrant vagrant  4096 Oct 12 03:07 bootstrap
> -rwxrwxrwx 1 vagrant vagrant   861 Oct 30 19:01 composer.json
> -rwxrwxrwx 1 vagrant vagrant 88336 Oct 30 19:05 composer.lock
> -rwxrwxrwx 1 vagrant vagrant   145 Aug 11 15:20 CONTRIBUTING.md
> drwxrwxrwx 1 vagrant vagrant  4096 Oct 27 22:32 db
> -rwxrwxrwx 1 vagrant vagrant   696 Sep 29 14:15 phpunit.xml
> drwxrwxrwx 1 vagrant vagrant  4096 Oct 30 00:05 public
> -rwxrwxrwx 1 vagrant vagrant  1795 Aug 11 15:20 readme.md
> -rwxrwxrwx 1 vagrant vagrant   538 Aug 11 15:20 server.php
> -rwxrwxrwx 1 vagrant vagrant   202 Aug 22 21:52 test.php
> drwxrwxrwx 1 vagrant vagrant  4096 Oct 30 19:05 vendor
>
> How to change the permissions?
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to