Browse Source

Add note wrt case issues on Windows. (PR 6694)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272419 13f79535-47bb-0310-9956-ffa450edef68
master
Diane Holt 23 years ago
parent
commit
a7255e1083
1 changed files with 12 additions and 3 deletions
  1. +12
    -3
      docs/manual/CoreTasks/copy.html

+ 12
- 3
docs/manual/CoreTasks/copy.html View File

@@ -158,12 +158,21 @@ in all files.</b></p>
</pre>

<p><strong>Unix Note:</strong> File permissions are not retained when files
are copied; they end up with the default UMASK permissions instead. This
are copied; they end up with the default <code>UMASK</code> permissions
instead. This
is caused by the lack of any means to query or set file permissions in the
current Java runtimes. If you need a permission-preserving copy function,
use &lt;exec executable="cp" ... &gt; instead.
use <code>&lt;exec executable="cp" ... &gt;</code> instead.
</p>

<hr><p align="center">Copyright &copy; 2001,2002 Apache Software Foundation.
<p><strong>Windows Note:</strong> If you copy a file to a directory
where that file already exists, but with different casing,
the copied file takes on the case of the original. The workaround is to
<a href="delete.html">delete</a>
the file in the destination directory before you copy it.
</p>

<hr><p align="center">Copyright &copy; 2001-2002 Apache Software Foundation.
All rights Reserved.</p>

</body>


Loading…
Cancel
Save