>> The error is about /u/kumari/main/shailja/bin/share/run_m.pl not the file you mention. Could there be a symbolic link somewhere that Ant tries to traverse but can't? >>
Copy task is copying from /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl to /u/kumari/main/shailja/bin/share/run_m.pl location Before executing copy task /u/kumari/main/shailja/bin/share/run_m.pl does not exists. There is no symlink anywhere in /u/kumari/main/shailja/bin/share, that ant tries to traverse. Anyways this error is comming only with ant1.8.0 not with ant1.7.1. I am not sure about the behavior of ant. :( Stefan Bodewig wrote: > > On 2010-04-08, SHAILJA <shalja.ru...@gmail.com> wrote: > >> When I use ant1.8.0, it gives error like this > >> Failed to copy /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl >> to >> /u/kumari/main/base/bin/share/run_m.pl due to >> java.io.FileNotFoundException >> /u/kumari/main/shailja/bin/share/run_m.pl (Permission denied) > >> But I have file /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl >> with correct permission. > > The error is about /u/kumari/main/shailja/bin/share/run_m.pl not the > file you mention. Could there be a symbolic link somewhere that Ant > tries to traverse but can't? > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > > -- View this message in context: http://old.nabble.com/Ant1.8-copy-task-gives-error-%22Failed-to-copy%22-with-%22Permission-denied%22-tp28179282p28188260.html Sent from the Ant - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org