# Ansible :: Error while linking: \[Errno 13\] Permission denied

**URL:** <https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948>\
**Category:** Ansible Project\
**Created:** [July 11, 2017, 6:00am UTC](https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948 "2017-07-11T06:00:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swapnil\_Bendekar1](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Swapnil\_Bendekar1](https://forum.ansible.com/u/Swapnil_Bendekar1)\
**Post date:** [July 11, 2017, 6:00am UTC](https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948/1 "2017-07-11T06:00:50Z")

</div>

Hello Folks,

With Ansible(2.3.0.0) and python(2.6.6), executing ansible playbook from webadmin user.  
Using remote\_user = ansible (in ansible.cfg )for passwordless authentication.  
While creating symlink, getting Error while linking: [Errno 13] Permission denied

file:  
src: /path/to/be/linked  
dest: “{{dest\_home}}/{{dest\_app}}”  
state: link  
follow: True  
force: True

Do let me know if any other information needed.  
Appreciate your help to resolve this issue.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [July 13, 2017, 7:00pm UTC](https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948/2 "2017-07-13T19:00:51Z")

</div>

As the error message say, the user doesn't have the permission to create the link.  
Resolve the permission or run it with become.
