# Permission issue with become

**URL:** <https://forum.ansible.com/t/permission-issue-with-become/33722>\
**Category:** Ansible Project\
**Created:** [September 1, 2020, 9:55pm UTC](https://forum.ansible.com/t/permission-issue-with-become/33722 "2020-09-01T21:55:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahesh\_N](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@Mahesh\_N](https://forum.ansible.com/u/Mahesh_N)\
**Post date:** [September 1, 2020, 9:55pm UTC](https://forum.ansible.com/t/permission-issue-with-become/33722/1 "2020-09-01T21:55:16Z")

</div>

Having the same issue here: Any help is appreciated.  
Using  
ansible --version  
ansible 2.5.2  
config file = /etc/ansible/ansible.cfg  
python version = 2.6.6

**site.yml**

- name: Live patch  
hosts: all  
become: yes

tasks:

- name: Update the packages using uptrack  
shell: ‘uptrack-upgrade -y’  
args:  
executable: /usr/sbin  
**ERROR:**  
fatal: [10.0.0.1]: FAILED! =\> {“changed”: false, “cmd”: “/usr/sbin -c ‘uptrack-upgrade -y’”, “msg”: “[Errno 13] Permission denied”, “rc”: 13}

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [September 2, 2020, 9:43am UTC](https://forum.ansible.com/t/permission-issue-with-become/33722/2 "2020-09-02T09:43:12Z")

</div>

You're trying to use /usr/sbin as a command, which won't work as this  
is a directory.  
Remove the 'args' stanza and instead use the full path to the shell  
command you want to run:

&nbsp;&nbsp;tasks:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- name: Update the packages using uptrack  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shell: '/usr/sbin/uptrack-upgrade -y'
