
{"id":94,"date":"2014-09-10T19:23:32","date_gmt":"2014-09-10T19:23:32","guid":{"rendered":"http:\/\/pages.charlotte.edu\/mark-hamrick\/?p=94"},"modified":"2014-09-10T19:23:32","modified_gmt":"2014-09-10T19:23:32","slug":"acls","status":"publish","type":"post","link":"https:\/\/pages.charlotte.edu\/mark-hamrick\/blog\/2014\/09\/10\/acls\/","title":{"rendered":"ACLs"},"content":{"rendered":"<p>A recent issue required\u00a0 all users reading and writing a directory maintain the group owner.<\/p>\n<p>To ensure the group owner was maintained, ACLs were set on the directories.<\/p>\n<p>The first command sets the privileges on everything that is existing.<\/p>\n<pre><code>setfacl -Rm g:yourgroup:rwx \/yourdirectory\r\n<\/code><\/pre>\n<p>The next command does the same thing, but sets the default. This means that when a new file or subdirectory is created it inherits the existing ACLs.<\/p>\n<pre><code>setfacl -Rm d:g:yourgroup:rwx \/yourdirectory\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A recent issue required\u00a0 all users reading and writing a directory maintain the group owner. To ensure the group owner was maintained, ACLs were set on the directories. The first command sets the privileges on everything that is existing. setfacl -Rm g:yourgroup:rwx \/yourdirectory The next command does the same thing, but sets the default. This [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-updates"],"_links":{"self":[{"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":2,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/posts\/94\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.charlotte.edu\/mark-hamrick\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}