{"id":593,"date":"2020-12-26T14:03:32","date_gmt":"2020-12-26T20:03:32","guid":{"rendered":"https:\/\/n8williams.com\/devblog\/?p=593"},"modified":"2022-09-24T15:38:18","modified_gmt":"2022-09-24T21:38:18","slug":"nginx-client_body_temp-failed-13-permission-denied-error","status":"publish","type":"post","link":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error","title":{"rendered":"nginx client_body_temp failed 13: Permission denied error"},"content":{"rendered":"\n<p>With nginx and homebrew installs, you may see the following error if you have installed nginx with homebrew (or otherwise) and are seeing errors when you try an upload files using wordpress or otherwise:<\/p>\n\n\n\n<p> <code>nginx\/client_body_temp\/0000000007&quot; failed (13: Permission denied)<\/code> where the number of the temp directory may be different.<\/p>\n\n\n\n<p>The <code>\/usr\/local\/var\/run\/nginx<\/code> folders may have been set with restrictive users or permissions (or depending on your setup something like <code>\/opt\/homebrew\/var\/run\/nginx<\/code>). Cd into that folder with <code>cd \/usr\/local\/var\/run\/nginx<\/code> and run <code>sudo chown -R &lt;your_admin_user&gt;:admin client_body_temp\/<\/code> to allow the right processes to be able to upload the files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With nginx and homebrew installs, you may see the following error if you have installed nginx with homebrew (or otherwise) and are seeing errors when you try an upload files using wordpress or otherwise: nginx\/client_body_temp\/0000000007&quot; failed (13: Permission denied) where the number of the temp directory may be different. The \/usr\/local\/var\/run\/nginx folders may have been &hellip; <a href=\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;nginx client_body_temp failed 13: Permission denied error&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,10],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>nginx client_body_temp failed 13: Permission denied error - The Dev Pages<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nginx client_body_temp failed 13: Permission denied error - The Dev Pages\" \/>\n<meta property=\"og:description\" content=\"With nginx and homebrew installs, you may see the following error if you have installed nginx with homebrew (or otherwise) and are seeing errors when you try an upload files using wordpress or otherwise: nginx\/client_body_temp\/0000000007&quot; failed (13: Permission denied) where the number of the temp directory may be different. The \/usr\/local\/var\/run\/nginx folders may have been &hellip; Continue reading &quot;nginx client_body_temp failed 13: Permission denied error&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\" \/>\n<meta property=\"og:site_name\" content=\"The Dev Pages\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-26T20:03:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-24T21:38:18+00:00\" \/>\n<meta name=\"author\" content=\"Nate Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@admin\" \/>\n<meta name=\"twitter:site\" content=\"@admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nate Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#article\",\"isPartOf\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\"},\"author\":{\"name\":\"Nate Admin\",\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757\"},\"headline\":\"nginx client_body_temp failed 13: Permission denied error\",\"datePublished\":\"2020-12-26T20:03:32+00:00\",\"dateModified\":\"2022-09-24T21:38:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\"},\"wordCount\":89,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757\"},\"articleSection\":[\"General Dev\",\"Mac Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\",\"url\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\",\"name\":\"nginx client_body_temp failed 13: Permission denied error - The Dev Pages\",\"isPartOf\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/#website\"},\"datePublished\":\"2020-12-26T20:03:32+00:00\",\"dateModified\":\"2022-09-24T21:38:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/n8williams.com\/devblog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nginx client_body_temp failed 13: Permission denied error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/n8williams.com\/devblog\/#website\",\"url\":\"https:\/\/n8williams.com\/devblog\/\",\"name\":\"The Dev Pages\",\"description\":\"A knowledge base for web applications development (and beyond)\",\"publisher\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/n8williams.com\/devblog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757\",\"name\":\"Nate Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/19d7bc7602072ac846e912622704a628?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/19d7bc7602072ac846e912622704a628?s=96&d=mm&r=g\",\"caption\":\"Nate Admin\"},\"logo\":{\"@id\":\"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/n8williams.com\",\"https:\/\/twitter.com\/admin\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nginx client_body_temp failed 13: Permission denied error - The Dev Pages","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error","og_locale":"en_US","og_type":"article","og_title":"nginx client_body_temp failed 13: Permission denied error - The Dev Pages","og_description":"With nginx and homebrew installs, you may see the following error if you have installed nginx with homebrew (or otherwise) and are seeing errors when you try an upload files using wordpress or otherwise: nginx\/client_body_temp\/0000000007&quot; failed (13: Permission denied) where the number of the temp directory may be different. The \/usr\/local\/var\/run\/nginx folders may have been &hellip; Continue reading \"nginx client_body_temp failed 13: Permission denied error\"","og_url":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error","og_site_name":"The Dev Pages","article_published_time":"2020-12-26T20:03:32+00:00","article_modified_time":"2022-09-24T21:38:18+00:00","author":"Nate Admin","twitter_card":"summary_large_image","twitter_creator":"@admin","twitter_site":"@admin","twitter_misc":{"Written by":"Nate Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#article","isPartOf":{"@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error"},"author":{"name":"Nate Admin","@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757"},"headline":"nginx client_body_temp failed 13: Permission denied error","datePublished":"2020-12-26T20:03:32+00:00","dateModified":"2022-09-24T21:38:18+00:00","mainEntityOfPage":{"@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error"},"wordCount":89,"commentCount":4,"publisher":{"@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757"},"articleSection":["General Dev","Mac Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#respond"]}]},{"@type":"WebPage","@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error","url":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error","name":"nginx client_body_temp failed 13: Permission denied error - The Dev Pages","isPartOf":{"@id":"https:\/\/n8williams.com\/devblog\/#website"},"datePublished":"2020-12-26T20:03:32+00:00","dateModified":"2022-09-24T21:38:18+00:00","breadcrumb":{"@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/n8williams.com\/devblog\/mac-development\/nginx-client_body_temp-failed-13-permission-denied-error#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/n8williams.com\/devblog\/"},{"@type":"ListItem","position":2,"name":"nginx client_body_temp failed 13: Permission denied error"}]},{"@type":"WebSite","@id":"https:\/\/n8williams.com\/devblog\/#website","url":"https:\/\/n8williams.com\/devblog\/","name":"The Dev Pages","description":"A knowledge base for web applications development (and beyond)","publisher":{"@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/n8williams.com\/devblog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/1c31624786b5382f1a811f0a01985757","name":"Nate Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/19d7bc7602072ac846e912622704a628?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/19d7bc7602072ac846e912622704a628?s=96&d=mm&r=g","caption":"Nate Admin"},"logo":{"@id":"https:\/\/n8williams.com\/devblog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/n8williams.com","https:\/\/twitter.com\/admin"]}]}},"_links":{"self":[{"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/posts\/593"}],"collection":[{"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":5,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":689,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/posts\/593\/revisions\/689"}],"wp:attachment":[{"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/n8williams.com\/devblog\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}