# Dockerfile Operation not permitted

**URL:** <https://discuss.huggingface.co/t/dockerfile-operation-not-permitted/90324>\
**Category:** Spaces\
**Created:** [June 4, 2024, 6:24pm UTC](https://discuss.huggingface.co/t/dockerfile-operation-not-permitted/90324 "2024-06-04T18:24:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arpit-Bansal](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Arpit-Bansal](https://discuss.huggingface.co/u/Arpit-Bansal)\
**Post date:** [June 4, 2024, 6:24pm UTC](https://discuss.huggingface.co/t/dockerfile-operation-not-permitted/90324/1 "2024-06-04T18:24:04Z")

</div>

my repo link [https://huggingface.co/spaces/Arpit-Bansal/llama\_3\_8B-counsellor\_v0.5/blob/main/Dockerfile](https://huggingface.co/spaces/Arpit-Bansal/llama_3_8B-counsellor_v0.5/blob/main/Dockerfile) for this:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/0/0/00f1d54b761c897cc836aaccc0ea68e60a4e9bd2.png)  
error:  
at first the error was ./cache permission denied so i made some recommended changes but still getting error:  
 → RUN chown -R user:user /code  
chown: changing ownership of ‘/code/requirements.txt’: Operation not permitted

→ ERROR: process “/bin/sh -c chown -R user:user /code” did not complete successfully: exit code: 1
