{"id":290,"date":"2014-05-15T02:40:03","date_gmt":"2014-05-15T02:40:03","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=290"},"modified":"2014-05-15T02:40:03","modified_gmt":"2014-05-15T02:40:03","slug":"find-files-and-directories-that-are-777","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/05\/15\/find-files-and-directories-that-are-777\/","title":{"rendered":"Find All Files and Directories that are permissions 777"},"content":{"rendered":"<p>For directories<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type d -perm 777 -print\n\n<\/pre>\n<p>Set to 755:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nroot@server ]# find \/var\/www\/vhosts\/domain.com\/httpdocs\/ -type d -perm 777 -exec chmod 755 {} \\;\n\n\n<\/pre>\n<p>For Files<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type f -perm 777 -print\n<\/pre>\n<p>Set to 644:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type f -perm 777 -exec chmod 644 {} \\;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>For directories &#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type d -perm 777 -print Set to 755: root@server ]# find \/var\/www\/vhosts\/domain.com\/httpdocs\/ -type d -perm 777 -exec chmod 755 {} \\; For Files &#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type f -perm 777 -print Set to 644: &#x5B;root@server]# find \/var\/www\/vhosts\/domain.com\/httpdocs -type f -perm 777 -exec chmod 644 {} \\;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4,39],"tags":[],"class_list":["post-290","post","type-post","status-publish","format-standard","hentry","category-administration","category-apache","category-find"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=290"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/290\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}