ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant1.8 copy task gives error "Failed to copy" with "Permission denied"
Date Mon, 19 Apr 2010 09:51:36 GMT
On 2010-04-14, SHAILJA <> wrote:

>> Failed to copy
>> /u/kumari/main/shailja/src/java/a/guas/utd/writer/realtimelagstats/
>> to /u/kumari/main/shailja/bin/share/ due to
>> /u/kumari/main/shailja/bin/share/
>> (Permission denied)

>> this time something is different, the file the exception talks about
>> actually is the same as the one the task wants to copy to.  In your
>> first post they've been different.

> I am getting this kind of error only in my first post also.

In your initial post it was

| Failed to copy /u/kumari/main/shailja/src/java/a/jsh/mm/script/ to
| /u/kumari/main/base/bin/share/ due to
| /u/kumari/main/shailja/bin/share/ (Permission denied)

Different source and target files and in particular the error message
talks about a third file that is different from both the source and the

>> But do you have permissions to write there - and is there enough space?

> Permission on /u/kumari/main/shailja/bin/share directory is
> drwxrwsr-x

Which doesn't mean anything to me since I don't know whether you are the
owner or in the appropriate group 8-)

> df -akh .
>   11G   9.7G   1.3G    89%

and I don't know how big the file is. 8-)

>> Does a simple
>> cp
>> /u/kumari/main/shailja/src/java/a/guas/utd/writer/realtimelagstats/
>> /u/kumari/main/shailja/bin/share/

>> succeed on the command line?

> Yes it succeeded. Thats why I am not getting the cause of this error.

I'm sorry, I'm running out of ideas myself and honestly it doesn't
really help that the issue seems to be a moving target with every post.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message