I was getting this error at end of vagrant up
:
==> default: Adding vagrant ssh-config for example.test to ~/.ssh/config
/projectsfolder/example.com/trellis/lib/trellis/vagrant.rb:103:in `write': Permission denied @ rb_sysopen - /Users/josialoos/.ssh/config (Errno::EACCES)
from /Volumes/Webprojekte/roots.paradisepress.io/trellis/lib/trellis/vagrant.rb:103:in `update_ssh_config'
from /Volumes/Webprojekte/roots.paradisepress.io/trellis/Vagrantfile:150:in `block (4 levels) in <top (required)>'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/plugin/v2/trigger.rb:320:in `execute_ruby'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/plugin/v2/trigger.rb:173:in `block in fire'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/plugin/v2/trigger.rb:142:in `each'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/plugin/v2/trigger.rb:142:in `fire'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/plugin/v2/trigger.rb:74:in `fire_triggers'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/machine.rb:214:in `action'
from /opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
I fixed this by doing sudo chmod 664 config
. Can I still consider this as safe as the official recommendation for filepermissions on /config ist 644?
Maybe someone else could share their file permissions on ~/.ssh/config ?