mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
Fix ACL error message (#2501)
* Fix ACL error message * Update CHANGELOG.md
This commit is contained in:
parent
00467b0edf
commit
a313326911
@ -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
|
||||||
|
@ -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`.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user