{"id":185,"date":"2017-10-17T11:06:52","date_gmt":"2017-10-17T13:06:52","guid":{"rendered":"http:\/\/hackerzone.com.br\/blog\/?p=185"},"modified":"2017-10-17T11:17:04","modified_gmt":"2017-10-17T13:17:04","slug":"alterar-permissoes-somente-em-pastas-ou-arquivos-no-linux","status":"publish","type":"post","link":"http:\/\/hackerzone.com.br\/blog\/alterar-permissoes-somente-em-pastas-ou-arquivos-no-linux\/","title":{"rendered":"Alterar permiss\u00f5es somente em pastas ou arquivos no Linux"},"content":{"rendered":"<p>Surgiu a necessidade de executar permiss\u00f5es somente em pastas ou somente em arquivos ou somente em pastas, dentro de uma determinada pasta e suas subpastas.<\/p>\n<p>find \/pasta -type d -exec chmod 755 &#8220;{}&#8221; \\; <\/p>\n<p>Para arquivos: <\/p>\n<p>find \/pasta -type f -exec chmod 644 &#8220;{}&#8221; \\; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Surgiu a necessidade de executar permiss\u00f5es somente em pastas ou somente em arquivos ou somente em pastas, dentro de uma determinada pasta e suas subpastas. find \/pasta -type d -exec chmod 755 &#8220;{}&#8221; \\; Para arquivos: find \/pasta -type f -exec chmod 644 &#8220;{}&#8221; \\;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[87,7,88,86],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-linux","tag-arquivos","tag-linux","tag-pastas","tag-permissoes","cat-2-id"],"_links":{"self":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":2,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":187,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions\/187"}],"wp:attachment":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}