{"id":131,"date":"2018-09-26T09:14:05","date_gmt":"2018-09-26T05:14:05","guid":{"rendered":"http:\/\/kidds.co.za\/?p=131"},"modified":"2018-09-26T09:15:12","modified_gmt":"2018-09-26T05:15:12","slug":"linux-retaining-group-permissions-on-new-files-and-dirs","status":"publish","type":"post","link":"https:\/\/kidds.co.za\/index.php\/2018\/09\/26\/linux-retaining-group-permissions-on-new-files-and-dirs\/","title":{"rendered":"Linux retaining group permissions on new files and dirs"},"content":{"rendered":"<pre><code>$ umask 002            # allow group write; everyone must do this\r\n$ chgrp G .            # set directory group to G\r\n$ chmod g+s .          # files created in directory will be in group G<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ umask 002 # allow group write; everyone must do this $ chgrp G . # set directory group to G $ chmod g+s . # files created in directory will be in group G<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,2],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-general-commands","category-linux"],"_links":{"self":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":1,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/131\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}