snipt

Ctrl+h for KB shortcuts

Bash

Change the owner of a symbolic link

$ chown -h <user>:<group> <symbolic_link>
https://snipt.net/embed/ffabb099faa6e102a803e2a42673c254/
/raw/ffabb099faa6e102a803e2a42673c254/
ffabb099faa6e102a803e2a42673c254
bash
Bash
1
2019-08-24T02:36:39
True
False
False
Sep 13, 2012 at 04:15 AM
/api/public/snipt/47120/
change-the-owner-of-a-symbolic-link
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ chown -h &lt;user&gt;:&lt;group&gt; &lt;symbolic_link&gt; </span></pre></div> </td></tr></table>
bash