NAnt: get task permission denied

百般思念 提交于 2019-12-24 09:12:09

问题


I'm trying to use the NAnt <get> task to download some artifacts from our build server.

However I'm getting permission denied to the destination folder even though the folder I'm downloading to has "Everyone" with full control.

What's going on?


回答1:


Nevermind,

The problem was that in the destination of the <get> task you need to specify the file as well as the directory.




回答2:


Is the directory read-only? If so, you should be able to use the <attrib> task before <get> to allow read/write access temporarily.



来源:https://stackoverflow.com/questions/3214364/nant-get-task-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!