[jboss-jira] [JBoss JIRA] (WFCORE-1348) Specify filesystem rights for deployment content

ehsavoie Hugonnet (JIRA) issues at jboss.org
Mon Feb 8 13:08:00 EST 2016


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

ehsavoie Hugonnet commented on WFCORE-1348:
-------------------------------------------

Using the old File.createTempFile seems the way to go as it doesn't apply the same rights and this was working nicely before.

> Specify filesystem rights for deployment content
> ------------------------------------------------
>
>                 Key: WFCORE-1348
>                 URL: https://issues.jboss.org/browse/WFCORE-1348
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>    Affects Versions: 2.0.10.Final
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>
> Currently when we add a content to the ContentRepository we are using Files.createTempFile whitout specifying the file attributes. On GNU/Linux this may create a file with only read write rights for the user (and not the group or other). We should change that as this could lead to some strange errors.



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


More information about the jboss-jira mailing list