title: PHP7 + Symfony 3.1.0 + Vagrant: Failed to write session data
body: <p>although the path <strong><em>/mnt/my-proj/app/../var/sessions/dev</em></strong> is accessible for both the normal user and www-data I get the following message:</p>
  
  <pre><code>Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/mnt/op-accounting2/app/../var/sessions/dev)
  </code></pre>
  
  <p>I get the message above only in dev, but not in prod. 
  <strong><em>/mnt/my-proj/app/../var/sessions/dev</em></strong> and <strong><em>/mnt/my-proj/app/../var/sessions/prod</em></strong> have the same pemissions: 777.</p>
  
  <p>The path above is mounted as following:</p>
  
  <pre><code># mount -t vboxsf -o uid=1000,gid=33,umask=000 my-proj /mnt/my-proj;
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>I've read the following posts, but could find no solution for me:</p>
  
  <p><a href="https://stackoverflow.com/questions/5104065/php-session-handling-errors">PHP session handling errors</a></p>
  
  <p><a href="https://github.com/NewEraCracker/suhosin-patches/issues/3" rel="nofollow noreferrer">https://github.com/NewEraCracker/suhosin-patches/issues/3</a></p>
  
  <p><a href="https://stackoverflow.com/questions/34117651/php7-symfony-2-8-failed-to-write-session-data">PHP7 + Symfony 2.8, Failed to write session data</a></p>
  
  <p>I'm using Vagrant 1.8.1 on Windows 8.1 Enterprice (64Bit) and  ubuntu-xenial 16.04 in Vagrant. The provider is VirtualBox 5.0.20. The settings are mostly default ones. The path above is shared using VirtualBox GUI with full access.</p>
  
  <p>Kind regards,</p>
  
  <p>Juri</p>