{"id":1776,"date":"2014-01-30T13:50:16","date_gmt":"2014-01-30T13:50:16","guid":{"rendered":"http:\/\/www.astarmathsandphysics.com\/blog\/paulsmith\/?p=1776"},"modified":"2014-01-30T13:50:16","modified_gmt":"2014-01-30T13:50:16","slug":"change-entire-directory-permission-including-files-and-subdirectories-in-ubuntu","status":"publish","type":"post","link":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2014\/01\/change-entire-directory-permission-including-files-and-subdirectories-in-ubuntu\/","title":{"rendered":"Change entire directory permission including files and subdirectories in ubuntu"},"content":{"rendered":"<p>Run this as root in a terminal to change folder to owner newowner and group newgroup<\/p>\n<p>chown -R newowner:newgroup folder<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run this as root in a terminal to change folder to owner newowner and group newgroup chown -R newowner:newgroup folder<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[],"class_list":["post-1776","post","type-post","status-publish","format-standard","hentry","category-my-life-with-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Wm4j-sE","jetpack-related-posts":[{"id":1772,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2014\/01\/how-to-put-index-html-into-every-folder\/","url_meta":{"origin":1776,"position":0},"title":"How to put index.html into every folder","author":"taxicle","date":"January 30, 2014","format":false,"excerpt":"And stop directory browsing on your website, go to the root folder of your website and copy this into a terminal for dir in $(find www\/ -type d -maxdepth 1); do cp -i www\/index.htm \"$dir\"\/; done","rel":"","context":"In &quot;My Life With Ubuntu&quot;","block_context":{"text":"My Life With Ubuntu","link":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/category\/my-life-with-ubuntu\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1433,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2013\/07\/extremely-confused-about-ubuntu\/","url_meta":{"origin":1776,"position":1},"title":"Extremely confused about ubuntu","author":"taxicle","date":"July 24, 2013","format":false,"excerpt":"I use ubuntu server at home and have ubuntu on a laptop. I have heard there is to be an ubuntu smartphone, which I would find extremely attractive. This is not true. What there will be is a phone running android which boots into ubuntu on a desktop screen when\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1774,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2014\/01\/installing-smart-disk-tools-in-ubuntu\/","url_meta":{"origin":1776,"position":2},"title":"Installing smart disk tools in ubuntu","author":"taxicle","date":"January 30, 2014","format":false,"excerpt":"To get lots of disk data in ubuntu, go to a terminal and log in as root, then type apt-get install smartmontools smartctl -a \/dev\/sda very useful for knowing when a disk is about to fail","rel":"","context":"In &quot;My Life With Ubuntu&quot;","block_context":{"text":"My Life With Ubuntu","link":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/category\/my-life-with-ubuntu\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/posts\/1776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/comments?post=1776"}],"version-history":[{"count":1,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/posts\/1776\/revisions"}],"predecessor-version":[{"id":1777,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/posts\/1776\/revisions\/1777"}],"wp:attachment":[{"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/media?parent=1776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/categories?post=1776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/wp-json\/wp\/v2\/tags?post=1776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}