Skip to content

Commit 422ab21

Browse files
committed
Hotfix over files:permissions task to change magento_dir variable if setted
1 parent cdc2887 commit 422ab21

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ and this project adheres to [Semantic Version](http://semver.org/spec/v2.0.0.htm
1111

1212
### Removed
1313

14+
## [2.7.1] - 16-04-2020
15+
### Changed
16+
* fix task `files:permissions` to change to `magento_dir` folder before set permissions
17+
18+
## [2.7.0] - 05-12-2019
19+
### Added
20+
* task `cache:enable` to enable modules during deployment
21+
22+
### Changed
23+
* Fixes wrong permissions after extracting archive
24+
25+
## [2.6.0] - 05-12-2019
26+
### Changed
27+
* fix Grumphp Tests
28+
29+
## [2.5.0] - 13-03-2019
30+
### Added
31+
* task `files:remove-generated` to delete generated folder content
32+
33+
## [2.4.0] - 25-02-2019
34+
### Changed
35+
* `database:upgrade` to split `schema:upgrade` and `data:upgrade`
36+
1437
## [2.3.0] - 18-12-2018
1538
### Changed
1639

recipe/magento_2_1/files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
task('files:static_assets', '{{bin/php}} {{magento_bin}} setup:static-content:deploy {{languages}} {{static_deploy_options}}');
1919
task(
2020
'files:permissions',
21-
'chmod -R g+w var vendor pub/static pub/media app/etc && chmod u+x bin/magento'
21+
'cd {{magento_dir}} && chmod -R g+w var vendor pub/static pub/media app/etc && chmod u+x bin/magento'
2222
);
2323

2424
desc('Generate Magento Files');

0 commit comments

Comments
 (0)