-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
Component/s: container
-
None
It's not possible to mount anything into /opt/grouper as a read-only file. I don't want it to change the permissions of mounted files that are in Git because the perms are changed on the host system.
These blanket permissions changes may no longer be necessary. If I replace containerDockerfileInstallPermissions.sh with a script that always returns true, everything still works.
grouper_1 | chown: changing ownership of '/usr/local/bin/grouperScriptHooks.sh': Read-only file system
|
grouper_1 | grouperDockerfile; INFO: (/opt/container_files/docker-build-bin/containerDockerfileInstallPermissions.sh) chown tomcat:root $(find /home/tomcat /opt/container_files /opt/grouper /opt/tier /opt/tier-support /opt/tomcat /etc/httpd/conf /home/tomcat /usr/local/bin /etc/httpd/conf.d /usr/lib/jvm/java-17-amazon-corretto/lib/security/cacerts -path /opt/grouper/slashRoot -prune -o -path /opt/grouper/logs -prune -o ! -user tomcat -print), result: 1
|
grouper_1 | grouperContainer; INFO: (librarySetupFiles.sh-setupFiles_chownDirs) /opt/container_files/docker-build-bin/containerDockerfileInstallPermissions.sh tomcat root, result: 1
|