{"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_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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}},"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":[]},{"id":1881,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2014\/06\/what-a-difference-a-change-of-name-can-make-3\/","url_meta":{"origin":1776,"position":3},"title":"What a difference a change of name can make","author":"taxicle","date":"June 26, 2014","format":false,"excerpt":"At the moment, the United Kingfom and the United States of America representatives all sit together at conferences because the countries names are similar. This gives the UK greater influence than it would otherwise wield. If Australia we to become a republic and call it the United States of Australia,\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":717,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2012\/09\/all-change\/","url_meta":{"origin":1776,"position":4},"title":"All Change!","author":"taxicle","date":"September 17, 2012","format":false,"excerpt":"Philosophers used to think up new ways to descibe the world on the grounds that 'they must have their own system or be enslaved by another man's'. This seems to be how British politicians think too. Every government that takes office takes the health system and school system apart and\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":606,"url":"https:\/\/astarmathsandphysics.com\/blog\/paulsmith\/2012\/07\/mywhole-life-is-now-just-a-set-of-accounts\/","url_meta":{"origin":1776,"position":5},"title":"My Whole Life is Now Just a Set of Accounts","author":"taxicle","date":"July 7, 2012","format":false,"excerpt":"I just registered as a a private limited company, and my whole life and associated excpenses is, in part at least, tax deductible. I can't help thinking that this is exactly the sort of accounting fiction that can change liabilities without any change in lives that has got us all\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"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}]}}