Answers.Body: <p>We have provided a fix for this at <a href="https://github.com/civicrm/civicrm-core/pull/10677" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/10677</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-25T19:08:53.920Z
Answers.LastActivityDate: 2017-07-25T19:08:53.920Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I have seen this warning on a couple of sites.</p>
  
  <p>Warning: file_put_contents(.../sites/default/civicrm/ext/delete-this-DEbcrmuyt7): failed to open stream: Permission denied in CRM_Utils_File::createFakeFile() (line 306 of /.../sites/all/modules/civicrm/CRM/Utils/File.php).</p>
  
  <p>On one site this warning then came up when we tried to delete a Price Set but were unable to do so.</p>
  
Tags: <extension>
Title: Create fakefile warning
ThreadText: # Create fakefile warning
  
  (Asked by: username_0 on 2017-07-25)
  
  I have seen this warning on a couple of sites.
  
  Warning: file\_put\_contents(.../sites/default/civicrm/ext/delete-this-DEbcrmuyt7): failed to open stream: Permission denied in CRM\_Utils\_File::createFakeFile() (line 306 of /.../sites/all/modules/civicrm/CRM/Utils/File.php).
  
  On one site this warning then came up when we tried to delete a Price Set but were unable to do so.
  
  **Tags:** extension
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-07-25. Score: 1
  
  We have provided a fix for this at <https://github.com/civicrm/civicrm-core/pull/10677>
  
  
  ---
  
  