Skip to content

Commit b8db080

Browse files
committed
Ensure that new PVCs have the appropriate subdirs (SOFTWARE-4423)
1 parent 6ea6088 commit b8db080

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

base/etc/osg/image-config.d/20-osg-ce-setup.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ echo ">>>>> YOUR CERTIFICATE INFORMATION IS:"
6363
openssl x509 -in $hostcert_path -text
6464
echo "><><><><><><><><><><><><><><><><><><><"
6565

66-
chown -R condor:condor /var/log/condor-ce /var/lib/condor-ce/spool
66+
# Ensure that PVC dirs and subdirs exist and have the proper
67+
# permissions (SOFTWARE-4423)
68+
mkdir -p \
69+
/var/log/condor-ce/ \
70+
/var/lib/condor-ce/execute \
71+
/var/lib/condor-ce/spool/ceview/{metrics,vos}
72+
chown -R condor:condor \
73+
/var/log/condor-ce \
74+
/var/lib/condor-ce/
6775

6876
set +xe

0 commit comments

Comments
 (0)