Skip to content

Commit 1b91eca

Browse files
authored
Merge pull request #28 from erfanimani/master
files:permissions task now runs faster and is more concise
2 parents d3679af + 675634c commit 1b91eca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipe/magento_2_1/files.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
task('files:static_assets', '{{bin/php}} {{magento_bin}} setup:static-content:deploy {{languages}} {{static_deploy_options}}');
1515
task(
1616
'files:permissions',
17-
'cd {{magento_dir}} && find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \; ' .
18-
'&& find var vendor pub/static pub/media app/etc -type d -exec chmod g+w {} \; && chmod u+x bin/magento'
17+
'cd {{magento_dir}} && chmod -R g+w var vendor pub/static pub/media app/etc && chmod u+x bin/magento'
1918
);
2019

2120
desc('Generate Magento Files');

0 commit comments

Comments
 (0)