Fix ACL error message (#2501)

* Fix ACL error message

* Update CHANGELOG.md
This commit is contained in:
Loris Leiva 2021-04-11 15:45:55 +01:00 committed by GitHub
parent 00467b0edf
commit a313326911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@
- Shopware activates/runs migration in order (respects dependencies in composer.json). [#2423] [#2425] - Shopware activates/runs migration in order (respects dependencies in composer.json). [#2423] [#2425]
- Boolean options should not go through the `self::escape` function. [#2392] - Boolean options should not go through the `self::escape` function. [#2392]
- Check if shared file exists before touching it (and fail because no write permission). [#2393] - Check if shared file exists before touching it (and fail because no write permission). [#2393]
- Fixed "dep run" suggestion in ACL error message. [#2501]
### Removed ### Removed
- Removed the `artisan:public_disk` task. Use the `artisan:storage:link` task instead. [#2488] - Removed the `artisan:public_disk` task. Use the `artisan:storage:link` task instead. [#2488]
@ -612,6 +613,7 @@
- Fixed `DotArray` syntax in `Collection`. - Fixed `DotArray` syntax in `Collection`.
[#2501]: https://github.com/deployphp/deployer/pull/2501
[#2488]: https://github.com/deployphp/deployer/pull/2488 [#2488]: https://github.com/deployphp/deployer/pull/2488
[#2487]: https://github.com/deployphp/deployer/pull/2487 [#2487]: https://github.com/deployphp/deployer/pull/2487
[#2486]: https://github.com/deployphp/deployer/pull/2486 [#2486]: https://github.com/deployphp/deployer/pull/2486

View File

@ -107,7 +107,7 @@ task('deploy:writable', function () {
} }
} else { } else {
$alias = currentHost()->getAlias(); $alias = currentHost()->getAlias();
throw new \RuntimeException("Can't set writable dirs with ACL.\nInstall ACL with next command:\ndep run $alias -- sudo apt-get install acl"); throw new \RuntimeException("Can't set writable dirs with ACL.\nInstall ACL with next command:\ndep run 'sudo apt-get install acl' -- $alias");
} }
} else { } else {
throw new \RuntimeException("Unknown writable_mode `$mode`."); throw new \RuntimeException("Unknown writable_mode `$mode`.");