From 7ef94af799f6ee50077cd43f34b4193271fcd7c9 Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Sun, 24 Aug 2003 14:24:53 +0000 Subject: [PATCH] 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 --- docs/manual/CoreTasks/chmod.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/manual/CoreTasks/chmod.html b/docs/manual/CoreTasks/chmod.html index 032a93c51..bf8acc2d6 100644 --- a/docs/manual/CoreTasks/chmod.html +++ b/docs/manual/CoreTasks/chmod.html @@ -103,6 +103,11 @@ href="../CoreTypes/filelist.html">filelists.

makes the "start.sh" file readable and executable for anyone on a UNIX system.

+
+

<chmod file="${dist}/start.sh" perm="700"/>

+
+

makes the "start.sh" file readable, writable and executable only for the owner on a +UNIX system.

 <chmod dir="${dist}/bin" perm="ugo+rx"