{"id":92,"date":"2012-03-03T11:32:05","date_gmt":"2012-03-03T06:02:05","guid":{"rendered":"http:\/\/www.nettigritty.com\/kb\/?p=92"},"modified":"2012-03-03T11:32:58","modified_gmt":"2012-03-03T06:02:58","slug":"change-ownership-of-chown-a-symlink","status":"publish","type":"post","link":"https:\/\/www.nettigritty.com\/kb\/linux\/change-ownership-of-chown-a-symlink\/","title":{"rendered":"Change ownership of (chown) a symlink"},"content":{"rendered":"<p>The standard command to change ownership of any file on Linux is chown. However passing this normally with user.group does not change ownership of a symbolic link. To do that, pass the command with the -h flag like in the example below.<\/p>\n<blockquote><p><code>chown -h username.groupname symlinkname<\/code><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The standard command to change ownership of any file on Linux is chown. However passing this normally with user.group does not change ownership of a symbolic link. To do that, pass the command with the -h flag like in the example below. chown -h username.groupname symlinkname<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":3,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":95,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/92\/revisions\/95"}],"wp:attachment":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}