[jboss-jira] [JBoss JIRA] (WFCORE-515) ConfigurationFile.successfulBoot() may try to write in an unwriteable dir
Brian Stansberry (JIRA)
issues at jboss.org
Tue Jan 20 21:59:49 EST 2015
[ https://issues.jboss.org/browse/WFCORE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033968#comment-13033968 ]
Brian Stansberry commented on WFCORE-515:
-----------------------------------------
ConfigurationFilePersistenceResource.doCommit() seems to be doing the same thing, calling FilePersistenceUtils.createTempFile(fileName), where "fileName" is the same as ConfigurationFile.mainFile.
> 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.3.11#6341)
More information about the jboss-jira
mailing list