Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission errors #84

Open
zamson opened this issue Jan 18, 2017 · 1 comment
Open

Permission errors #84

zamson opened this issue Jan 18, 2017 · 1 comment

Comments

@zamson
Copy link

zamson commented Jan 18, 2017

I'm still trying to figure out best practice of running a Magestead/Vagrant project with same GIT repo on multiple machines.

If I ssh into the box I always end up running into permission errors. Still get permission denied using sudo. The default user is vagrant.

Is there any recipe to fix permission within the magestead/vagrant box. As of now I cannot run php bin/magento setup:di:compile because of permission denied for the user vagrant.

Edit: to clarify, only ran vagrant up, not magestead new since I want to use a existing GIT repo. Magestead sets up the vagrant box but seems to stop before Magento installation. Is it possible to fix permission after installation?

@ongerit
Copy link

ongerit commented Mar 22, 2018

I modified magestead.yaml below and this helped with the permission issues I was having with the box. I hope this helps.

      synced_folder:
            vflsf_uocnhnxzm524:
                sync_type: default
                smb:
                    smb_host: ''
                    smb_username: ''
                    smb_password: ''
                    mount_options:
                        dir_mode: '0775'
                        file_mode: '0664'
                owner: www-data
                group: www-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants