- make
- execute:
docker run -ti --rm --entrypoint /bin/ls swh-jenkins/sphinx -alR /home/jenkins/.cache
-> results:
/home/jenkins/.cache: total 12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 13:07 . drwxr-xr-x 1 jenkins jenkins 4096 Oct 13 13:37 .. drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 13:07 pip /home/jenkins/.cache/pip: total 8 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 13:07 . drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 13:07 ..
All the directory tree is now owned by jenkins (pip was owned by root previously)