# Using Ansible builder created strange permissions

**URL:** <https://forum.ansible.com/t/using-ansible-builder-created-strange-permissions/36754>\
**Category:** Ansible Project\
**Created:** [June 20, 2022, 7:55am UTC](https://forum.ansible.com/t/using-ansible-builder-created-strange-permissions/36754 "2022-06-20T07:55:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maik\_Brauer](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Maik\_Brauer](https://forum.ansible.com/u/Maik_Brauer)\
**Post date:** [June 20, 2022, 7:55am UTC](https://forum.ansible.com/t/using-ansible-builder-created-strange-permissions/36754/1 "2022-06-20T07:55:34Z")

</div>

Hello,

after doing an “ansible-builder build --tag ansible-runner-dev:latest” container will start building. But some stuff which I put inside the “execution-environment.yml” can’t be installed, as for example the /tmp directory has strange permissions there:

-rw-r–r-- 1 501 20 94 Feb 19 2019 plugin.yaml  
-rwx------ 1 root root 701 Mar 8 12:59 ks-script-sjkvb6c9  
-rwx------ 1 root root 291 Mar 8 12:59 ks-script-igw1w8it  
drwxr-xr-x 1 501 20 4096 Jun 20 00:11 .  
dr-xr-xr-x 1 root root 4096 Jun 20 07:27 …

So what is UserID 501 and GroupID 20 in this case?  
Base-Images which are used are the following:  
[quay.io/ansible/ansible-runner](http://quay.io/ansible/ansible-runner) latest bec0dc171168 7 weeks ago 816 MB  
[quay.io/ansible/ansible-builder](http://quay.io/ansible/ansible-builder) latest b0348faa7f41 4 months ago 779 MB

All this leads in my case in a  
[3/3] STEP 17/20: RUN helm plugin install [https://github.com/databus23/helm-diff](https://github.com/databus23/helm-diff)  
mktemp: failed to create directory via template ‘/tmp/helm-diff-XXXXXX’: Permission denied

Any idea?  
Thanks.
