zepgram / magento2-fast-vm

Optimal vagrant developer box for Magento2. Folders synced by nfs/rsync. This box includes Magento developer utilities.
MIT License
110 stars 35 forks source link

problem with permissions (after deploy project from repository) #86

Closed srgrbkl closed 3 years ago

srgrbkl commented 3 years ago

after deploy project from repository i got an error( mount: 'rsync'): 1 exception(s): Exception #0 (Magento\Framework\Exception\FileSystemException): The path "/home/vagrant/magento/pub/static/." is not writable.

adding this code to vagrantfile solves problem:

Bindfs options

config.bindfs.default_options = { force_user: 'vagrant', force_group: 'www-data', perms: 'u=rwx:g=rwx:o=rx' }

zepgram commented 3 years ago

HI @srgrbkl puting back this code will probably throw an error when you we'll try to add an image, this is related to : https://github.com/zepgram/magento2-fast-vm/issues/79

Do you think permission were correctly applied ? Did this error thrown when you tried to access magento ? Did you try to run the permission command ?

srgrbkl commented 3 years ago

I did not study README.md after update, run permission - works good. Thanks @zepgram!