title: Warning: touch(): Utime failed: Permission denied
body: <p>I am writing the session to a temporary file as follows:</p>
  
  <pre><code>if ($_SESSION['user_login_status'] == 1)
          {
          touch("tmp/access-" . session_id()); 
          }
  </code></pre>
  
  <p>I have the following permissions set on tmp just to test it is working (I will modify permissions to be more restrictive as I test):</p>
  
  <pre><code>drwxrwxrwx+
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <pre><code>Warning: touch(): Utime failed: Permission denied
  </code></pre>
  
  <p>Any thoughts? Everything I have googled thus far says check the permissions (done) or is related to a wordpress error which I am not running. Thanks!</p>