Browse Source

Add an example with an octal permission for chmod's documentation.

PR: 22445


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275135 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
7ef94af799
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      docs/manual/CoreTasks/chmod.html

+ 5
- 0
docs/manual/CoreTasks/chmod.html View File

@@ -103,6 +103,11 @@ href="../CoreTypes/filelist.html">filelist</a>s.</p>
</blockquote>
<p>makes the &quot;start.sh&quot; file readable and executable for anyone on a
UNIX system.</p>
<blockquote>
<p><code>&lt;chmod file=&quot;${dist}/start.sh&quot; perm=&quot;700&quot;/&gt;</code></p>
</blockquote>
<p>makes the &quot;start.sh&quot; file readable, writable and executable only for the owner on a
UNIX system.</p>
<blockquote>
<pre>
&lt;chmod dir=&quot;${dist}/bin&quot; perm=&quot;ugo+rx&quot;


Loading…
Cancel
Save