Open read permissions on /opt/cache/files/*
This is chowning /opt/cache/files to jenkins, which I believe is causing issues for non-devstack-gate jobs that want to access /opt/cache directly as zuul (for d-g jobs, roles/setup-devstack-cache handles making a copy of it there, which is why we don't see it there). Make the cache globally accessible Change-Id: I711bc5643dbc8f2b674cb2a399989643a993a32e
This commit is contained in:
parent
e158a4087c
commit
5ec31e6c46
@ -23,6 +23,8 @@ if [ -d /opt/cache/files ] ; then
|
||||
mkdir -p /home/jenkins/cache
|
||||
ln -sf /opt/cache/files /home/jenkins/cache/files
|
||||
chown -R jenkins:jenkins /opt/cache/files
|
||||
# but make sure the cache is readable by everyone
|
||||
chmod -R a+rX /opt/cache/files/*
|
||||
fi
|
||||
|
||||
# this was copied from outside the chroot by extras.d
|
||||
|
Loading…
x
Reference in New Issue
Block a user