<?xml version="1.0" ?>

<tasks xmlns="urn:wildfly:wildfly-feature-pack-tasks:2.0">
    <mkdir name=".installation"/>
    <mkdir name=".well-known/acme-challenge"/> 
    <file-permissions phase="FINALIZING">
        <permission value="755">
            <filter pattern="*.sh" include="true"/>
        </permission>
        <permission value="700">
            <filter pattern="*/tmp/auth" include="true"/>
        </permission>
        <permission value="664">
            <filter pattern="*.properties" include="true"/>
        </permission>
        <permission value="600">
            <filter pattern="*-users.properties" include="true"/>
            <filter pattern="*-roles.properties" include="true"/>
            <filter pattern="*-groups.properties" include="true"/>
            <filter pattern="*/.installation" include="true"/>
        </permission>
    </file-permissions>
    <copy-artifact artifact="org.jboss.modules:jboss-modules" to-location="jboss-modules.jar"/>
</tasks>
