When Castor restore the cache from the central cache on the Jenkins slave, it spurts a permission issue when setting times for /cache/.. It is harmless since we ignore all errors, but that is a bit distracting:
Syncing... rsync: failed to set times on "/cache/.": Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2] Done
The reason is the cache directory is created by the jenkins user:
mkdir -m 2777 -p cache
But the Castor rsync is done in a container with the nobody user:
docker run -v "$(pwd)/cache:/cache" docker-registry.wikimedia.org/releng/castor:0.1.3 load
Hence the directories we create (cache, log, src) should be created by the nobody user.