# Copy-config operation getting access-denied error with url filetype

**URL:** <https://dmap-community.ductus.global/t/copy-config-operation-getting-access-denied-error-with-url-filetype/3741>\
**Category:** NETCONF\
**Created:** [July 12, 2021, 12:06pm UTC](https://dmap-community.ductus.global/t/copy-config-operation-getting-access-denied-error-with-url-filetype/3741 "2021-07-12T12:06:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![palaniace](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@palaniace](https://dmap-community.ductus.global/u/palaniace)\
**Post date:** [July 12, 2021, 12:06pm UTC](https://dmap-community.ductus.global/t/copy-config-operation-getting-access-denied-error-with-url-filetype/3741/1 "2021-07-12T12:06:41Z")

</div>

HI,

I have enabled url capabilities with file type .

when i do copy-config with url getting access-denied error . i dont have any config to deny rpc operation . Below are my config . Let me know how to debug and what is the issue with file type.

.conf config

```
   <url>
       <enabled>true</enabled>
       <file>
            <enabled>true</enabled>
           <rootDir>/root/palani</rootDir>
      </file>
      <ftp>
      <enabled>true</enabled>
      </ftp>
   </url>

```

============my config===========

\<?xml version="1.0" encoding="UTF-8"?\> file:///my-new-cfg.xml ]]\>]]\>

===========nacm rule==================

 admin 9000 100 $0$admin /var/confd/homes/admin/.ssh /var/confd/homes/admin oper 9000 100 $0$oper /var/confd/homes/oper/.ssh /var/confd/homes/oper public 9000 100 $0$public /var/confd/homes/public/.ssh /var/confd/homes/public private 9000 100 $0$private /var/confd/homes/private/.ssh /var/confd/homes/private 0 \h\> 15 \h# exec 0 exit action help autowizard enable startup 15 configure permit admin admin oper oper public admin admin any-access permit any-group \* tailf-aaa-authentication tailf-aaa /aaa/authentication/users/user[name='$USER'] read update permit tailf-aaa-user tailf-aaa /user[name='$USER'] create read update delete permit tailf-webui-user tailf-webui /webui/data-stores/user-profile[username='$USER'] create read update delete permit 

Need some clearification . why am getting access-denied .

---

<div class="post-metadata">

**Author:** ![mnovak](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mnovak/32/183_2.png) [@mnovak](https://dmap-community.ductus.global/u/mnovak)\
**Post date:** [July 13, 2021, 9:32am UTC](https://dmap-community.ductus.global/t/copy-config-operation-getting-access-denied-error-with-url-filetype/3741/2 "2021-07-13T09:32:00Z")

</div>

Copy config is discussed in this thread

> [@Copy-config operation](http://dmap-community.ductus.global/t/copy-config-operation/1719):
>
> I have done few configurations like ISIS,BGP on my device from NETCONF client. Now , i want to check Copy-config operation. Can you please help me what should be in my target parameter in below XML: my router ip is: 192.168.171.44 (to login i do ssh [root@192.168.171.44](mailto:root@192.168.171.44)) CASE I: to copy on the same router at path: /sdboot/up CASE II: to copy on different server at path: /bgf/sdh-home
