title: /var/log/folder permissions change automatically everyday
body: <p>I am on a ubuntu machine and writing into a log folder /var/log/APP through cron.daily. The log folder is owned by APP user and needs permissions set as 755 to get the job done. I had to set the permissions of the folder to 755 again and again after finding the permissions being automatically changed to 700.</p>
  
  <p>What can be the possible causes for this kind of behavior?</p>
  
  <p>Content of cron.daily:</p>
  
  <pre><code>00 22 * * 1-5 app app ARG &gt; /var/log/APP/APP.$(date +"\%Y-\%m-\%d").log 2
  35 13 * * 2-7 app app ARG &gt; /var/log/APP/APP.$(date +"\%Y-\%m-\%d").log 2
  </code></pre>