chmod: missing operand after a+t
<p>Trying to fix world writable files and getting the error below:</p>

<pre><code>chmod: missing operand after a+t
</code></pre>

<p>here is my code</p>

<pre><code>df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type d -perm -0002 -a ! -perm -1000 2&gt;/dev/null | xargs chmod a+t
</code></pre>

<p>Any thoughts?</p>