[jboss-jira] [JBoss JIRA] (WFCORE-515) ConfigurationFile.successfulBoot() may try to write in an unwriteable dir

Brian Stansberry (JIRA) issues at jboss.org
Wed Mar 2 11:57:00 EST 2016


    [ https://issues.jboss.org/browse/WFCORE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170965#comment-13170965 ] 

Brian Stansberry commented on WFCORE-515:
-----------------------------------------

The configuration dir should be fine.

https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/persistence/ConfigurationFile.java#L458

> ConfigurationFile.successfulBoot() may try to write in an unwriteable dir
> -------------------------------------------------------------------------
>
>                 Key: WFCORE-515
>                 URL: https://issues.jboss.org/browse/WFCORE-515
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Brian Stansberry
>
> ConfigurationFile.successfulBoot() creates a temp file when persistOriginal is false. It locates it in the same directory as mainFile, but in the !persistOriginal case, mainFile may point to any location, not necessarily to something in the configuration dir, and its directory may not be writable by the WildFly process.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list