Page MenuHomeSoftware Heritage

sphinx: fix pip cache directory permissions
ClosedPublic

Authored by vsellier on Wed, Oct 13, 3:41 PM.

Details

Test Plan
  • 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)

Diff Detail

Repository
rCDFJ Dockerfiles for Jenkins
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Oct 14, 10:54 AM