Skip to content

Commit

Permalink
Fix permission changes to default sites directory contents (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
gapple authored and grasmash committed Jun 29, 2016
1 parent f409d8b commit 00cb9ab
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions template/build/core/phing/tasks/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,17 @@
<param>sync</param>
</drush>

<!-- Grant execution permissions. -->
<!-- Set sites directory file permissions. -->
<chmod mode="0755" failonerror="false">
<fileset dir="${docroot}/sites/default">
<include name="**" />
<type type="dir" />
<exclude name="files/**" />
</fileset>
</chmod>
<chmod mode="0644" failonerror="false">
<fileset dir="${docroot}/sites/default">
<type type="file" />
<exclude name="files/**" />
</fileset>
</chmod>

Expand Down

0 comments on commit 00cb9ab

Please sign in to comment.