• Phillip Webb's avatar
    Don't change ownership of PID_FOLDER · 3b52909f
    Phillip Webb authored
    Update the launch script so that it no longer changes ownership of the
    PID_FOLDER.
    
    Commit b24e736c had changed the chown
    line from:
    	chown "$run_user" "$PID_FOLDER/${identity}"
    to:
    	chown "$run_user" "$PID_FOLDER"
    
    This meant that it was possible for the launch script to change
    ownership of `/var/run` and prevent later processes from writing to
    the folder.
    
    Since PID_FOLDER is created before the chown statement, and that
    the `checkPermissions` function runs to ensure that the PID file can
    be written, it appears that the chown is not even required.
    
    Fixes gh-6532
    3b52909f
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...