{"id":288,"date":"2019-10-21T19:33:16","date_gmt":"2019-10-21T17:33:16","guid":{"rendered":"http:\/\/linuxboxen2.dk\/?p=288"},"modified":"2019-10-21T19:33:16","modified_gmt":"2019-10-21T17:33:16","slug":"org_chgrp","status":"publish","type":"post","link":"https:\/\/www.linuxboxen.dk\/?p=288","title":{"rendered":"CHGRP"},"content":{"rendered":"<p>CHGRP(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CHGRP(1)<\/p>\n<p>NAME<\/p>\n<p>chgrp &#8211; change group ownership<\/p>\n<p>SYNOPSIS<\/p>\n<p>chgrp [OPTION]&#8230; GROUP FILE&#8230;<br \/>\nchgrp [OPTION]&#8230; &#8211;reference=RFILE FILE&#8230;<\/p>\n<p>DESCRIPTION<\/p>\n<p>Change the group of each FILE to GROUP.\u00a0 With &#8211;reference, change the<br \/>\ngroup of each FILE to that of RFILE.<\/p>\n<p>-c, &#8211;changes<br \/>\nlike verbose but report only when a change is made<\/p>\n<p>-f, &#8211;silent, &#8211;quiet<br \/>\nsuppress most error messages<\/p>\n<p>-v, &#8211;verbose<br \/>\noutput a diagnostic for every file processed<\/p>\n<p>&#8211;dereference<br \/>\naffect the referent of each symbolic link (this is the<br \/>\ndefault), rather than the symbolic link itself<\/p>\n<p>-h, &#8211;no-dereference<br \/>\naffect symbolic links instead of any referenced file (useful<br \/>\nonly on systems that can change the ownership of a symlink)<\/p>\n<p>&#8211;no-preserve-root<br \/>\ndo not treat &#8216;\/&#8217; specially (the default)<\/p>\n<p>&#8211;preserve-root<br \/>\nfail to operate recursively on &#8216;\/&#8217;<\/p>\n<p>&#8211;reference=RFILE<br \/>\nuse RFILE&#8217;s group rather than specifying a GROUP value<\/p>\n<p>-R, &#8211;recursive<br \/>\noperate on files and directories recursively<\/p>\n<p>The following options modify how a hierarchy is traversed when the -R<br \/>\noption is also specified.\u00a0 If more than one is specified, only the<br \/>\nfinal one takes effect.<\/p>\n<p>-H\u00a0\u00a0\u00a0\u00a0 if a command line argument is a symbolic link to a directory,<br \/>\ntraverse it<\/p>\n<p>-L\u00a0\u00a0\u00a0\u00a0 traverse every symbolic link to a directory encountered<\/p>\n<p>-P\u00a0\u00a0\u00a0\u00a0 do not traverse any symbolic links (default)<\/p>\n<p>&#8211;help display this help and exit<\/p>\n<p>&#8211;version<br \/>\noutput version information and exit<\/p>\n<p>EXAMPLES<\/p>\n<p>chgrp staff \/u<br \/>\nChange the group of \/u to &#8220;staff&#8221;.<\/p>\n<p>chgrp -hR staff \/u<br \/>\nChange the group of \/u and subfiles to &#8220;staff&#8221;.<\/p>\n<p>GNU coreutils online help: &lt;http:\/\/www.gnu.org\/software\/coreutils\/&gt;<br \/>\nReport chgrp translation bugs to<br \/>\n&lt;http:\/\/translationproject.org\/team\/&gt;<\/p>\n<p>AUTHOR<\/p>\n<p>Written by David MacKenzie and Jim Meyering.<\/p>\n<p>COPYRIGHT<\/p>\n<p>Copyright \u00a9 2014 Free Software Foundation, Inc.\u00a0 License GPLv3+: GNU<br \/>\nGPL version 3 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;.<br \/>\nThis is free software: you are free to change and redistribute it.<br \/>\nThere is NO WARRANTY, to the extent permitted by law.<\/p>\n<p>SEE ALSO<\/p>\n<p>chown(1), chown(2)<\/p>\n<p>The full documentation for chgrp is maintained as a Texinfo manual.<br \/>\nIf the info and chgrp programs are properly installed at your site,<br \/>\nthe command<\/p>\n<p>info coreutils &#8216;chgrp invocation&#8217;<\/p>\n<p>should give you access to the complete manual.<\/p>\n<p>COLOPHON<\/p>\n<p>This page is part of the coreutils (basic file, shell and text<br \/>\nmanipulation utilities) project.\u00a0 Information about the project can<br \/>\nbe found at \u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 If you have a<br \/>\nbug report for this manual page, see<br \/>\n\u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 This page was obtained from<br \/>\nthe tarball coreutils-8.23.tar.xz fetched from<br \/>\n\u27e8http:\/\/www.gnutls.org\/download.html\u27e9 on 2014-12-30.\u00a0 If you discover<br \/>\nany rendering problems in this HTML version of the page, or you<br \/>\nbelieve there is a better or more up-to-date source for the page, or<br \/>\nyou have corrections or improvements to the information in this<br \/>\nCOLOPHON (which is not part of the original manual page), send a mail<br \/>\nto\u00a0man-pages@man7.org<\/p>\n<p>GNU coreutils 8.23\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 December 2014\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CHGRP(1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CHGRP(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CHGRP(1) NAME chgrp &#8211; change group ownership SYNOPSIS chgrp [OPTION]&#8230; GROUP FILE&#8230; chgrp [OPTION]&#8230; &#8211;reference=RFILE FILE&#8230; DESCRIPTION Change the group of each FILE to GROUP.\u00a0 With &#8211;reference, change the group of each FILE to that of RFILE. -c, &#8211;changes like verbose but report only when a change is made -f, &#8211;silent, &#8211;quiet [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-shell"],"_links":{"self":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=288"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/288\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}