Answers.Body: <p>Here are the required Craft 3 file permissions: <a href="https://docs.craftcms.com/v3/installation.html#step-2-set-the-file-permissions" rel="nofollow noreferrer">https://docs.craftcms.com/v3/installation.html#step-2-set-the-file-permissions</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-14T12:51:06.043Z
Answers.LastActivityDate: 2018-06-14T12:51:06.043Z
Answers.UserDisplayName: Andrea DeMers
Body: <p>Upon running the update tool in the Craft CMS, I get this error.</p>
  
  <p><strong><em>Error: file_put_contents(path/to/file/composer.json): failed to open stream: Permission denied</em></strong></p>
  
  <p>What permissions are causing this error? Is it simply the case of changing the perms on the composer.json file? If so, what should they be?</p>
  
  <p>Thanks!</p>
  
Tags: <manual-updates>
Title: Can't update Craft 3, permissions issue
ThreadText: # Can't update Craft 3, permissions issue
  
  (Asked by: username_0 on 2018-06-14)
  
  Upon running the update tool in the Craft CMS, I get this error.
  
  ***Error: file\_put\_contents(path/to/file/composer.json): failed to open stream: Permission denied***
  
  What permissions are causing this error? Is it simply the case of changing the perms on the composer.json file? If so, what should they be?
  
  Thanks!
  
  **Tags:** manual-updates
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-06-14. Score: 1
  
  Here are the required Craft 3 file permissions: <https://docs.craftcms.com/v3/installation.html#step-2-set-the-file-permissions>
  
  
  ---
  
  