Bugs item #2506115, was opened at 2009-01-13 19:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2506115&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.86
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: steven maglio (smaglio81)
Assigned to: Nobody/Anonymous (nobody)
Summary: copy task creates directory without permissions

Initial Comment:
The copy task has created a directory without any access privileges; not even 
system admins could access/delete/modify the directory. This has happened twice 
in the last year.

The similarities between the two occurrences:
* Both builds use the same build script.
* The build scipts delete and deploy to a remote/network location.
* The build script first deletes the directory. I also don't understand why 
this delete task also deletes the directory.

<delete if="${directory::exists(deploy.version.dir)}" failonerror="false" 
verbose="${verbose}">
        <fileset basedir="${deploy.dir}">
                <include name="**" />
        </fileset>
</delete>

* The build copy's files to a directory that doesn't exist. But it seems that 
copy tasks creates the target directory if it doesn't exist.
* The build script worked for weeks without a problem.
* Once the server image was restored, the build script again worked without 
error.
* The build script is being executed as a task from CruiseControl.Net.



The differences between the occurrences are:
* Different versions of NAnt. The first one was with 0.85 and the second was 
with 0.86.
* The remote/network locations where on two different servers.



Has anyone seen this happen before? Or have any suggestions on what to try in 
order to prevent this from happening in the future?

TIA

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2506115&group_id=31650

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to