Hello, Assuming you are on linux, vagrant will have limited access to some folders, so you can copy to some folder where vagrant can read/write, and then use sudo
vagrant ssh will connect you as vagrant user ls -al /usr/lib/php/20151012 Will show the permissions there. usually the steps would be copy the files to the folder where Vagrantfile is then as you may have shared folders, you could do sudo cp <file>.so /usr/lib/php/20151012 then use sudo chown to set proper permissions there if you use scp, copy as vagrant to /home/vagrant and then use the ssh with sudo cp to copy to the final destination. Alvaro > On 27/02/2016, at 11:49 PM, Girip Dragos Andrei <[email protected]> > wrote: > > Hi guys. I installed vagrant with laravel corectly. I want now to install a > framework named phpshadow. This framework want me to copy a .so file to > /usr/lib/php/20151012 . I connect to ssh ftp with WINSCP went to that folder > "/usr/lib/php/20151012" but when I try to copy the file I have permission > denied. How can I grant access for me there ? > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html > <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 > <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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/b242cded-dc75-47e2-a010-d7bfb262f802%40googlegroups.com > > <https://groups.google.com/d/msgid/vagrant-up/b242cded-dc75-47e2-a010-d7bfb262f802%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/1FCCDBA3-4290-4E0F-9C53-BF56D61079DB%40gmail.com. For more options, visit https://groups.google.com/d/optout.
