23 Commits

Author SHA1 Message Date
Anton Medvedev
dafad94e8e Better error message for ACL 2020-10-08 00:41:18 +02:00
Anton Medvedev
744c56fc09 Refactor deploy:writable 2020-10-07 23:55:41 +02:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Andrey Helldar
2ef394e125 Fixed bug "Can't detect http user name." (#1876)
* Fixed bug "Can't detect http user name."

See:
* https://github.com/deployphp/deployer/issues/1778#issuecomment-507228046
* #1805

* Update writable.php
2019-07-01 15:37:15 +03:00
Jānis Gruzis
10ba0fae78 Avoid zombie processes in http user resolution. (#1805)
* Avoid zombie processes in http user resolution.

* Changelog improved.
2019-05-16 14:51:00 +07:00
Ján Regeš
c37f5998fc Added writable_recursive option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1823)
* Added `writable_recursive` option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1822)

* Update CHANGELOG.md
2019-03-31 20:11:54 +07:00
Pablo Escobar
8c3bcc3c8c issues 1788 (#1790)
Fix http_user detection
2019-01-11 18:54:52 +07:00
Marko Kruljac
ab290fb04f http_user detection command could return wrong user (#1779)
* Add test before http_user detection

Script will no attempt to longer detect http_user if there are more than 1 possible candidates.

* Update CHANGELOG.md

Updated for issue #1778

* Update CHANGELOG.md

Added missing link to issue

* Change detection strategy from bash test to php

This reduces the number of ssh calls to the remote host.
2019-01-02 19:44:33 +07:00
Filippo Tessarotto
68d2cf32e9 [deploy:writable] chgrp doesn't need http_user (#1660)
* deploy:writable: chgrp doesn't need http_user

* Update CHANGELOG.md
2018-08-27 13:33:45 +07:00
Ryan Park
96f5edaebe moving the name column to the last position to show full name (#1580)
* moving the name column to the last position to show full name

- bug fix: #1579

* add changelog

* update changelog.md

* update CHANGELOG.md

* modify command to find http user

* modify command to find http user
2018-04-18 11:22:03 +07:00
Martin Supiot
006e0b16f3 fix typo (#1585) 2018-04-10 14:49:32 +07:00
pascal08
056db8a1b1 Improve readability of command for finding web server user (#1558)
* Improve readability of command for finding web server user

* Update CHANGELOG.md

* Add reference link to CHANGELOG.md
2018-02-22 20:56:14 +07:00
Anton Medvedev
d4205d0dcc Update writable.php 2017-08-12 18:50:41 +03:00
Anton Medvedev
80e68eced7 Merge branch 'master' into deploy_writable_tty 2017-08-12 18:49:52 +03:00
Anton Medvedev
53b0261c1b Refactor run and runLocally return type 2017-08-12 18:06:21 +03:00
grohiro
3c0bfc2429 Fix indentation 2017-07-01 11:09:13 +09:00
grohiro
4b72952255 Enable to allocate a TTY for deploy:writable task
It allows to use sudo with password when running `deploy:writable` task.
Added a variable {{writable_request_tty}} (boolean)
2017-07-01 01:08:19 +09:00
Maksim Kuznetsov
a4900c94c9 Create writable_dirs if they don’t exist 2017-02-24 02:27:50 +03:00
Jesper Skytte Marcussen
69de3865cd Option for non-recursive chmod in deploy:writable
This commit enables the user to disable the recursive flag when setting writable dirs with 'chmod', by setting 'writable_chmod_recursive' to false. It is per default set to true.
2017-01-24 08:08:58 +01:00
Jan Zdunek
d786b61489 Calling setfacl with option -L to follow symbolic links created for shared directories. 2017-01-14 14:53:58 +01:00
Carl Alexander
c6b560ff6c Fix bug with $httpGroup guard clause 2017-01-07 08:50:15 -05:00
Anton Medvedev
c6dc030b30 Refactor common.php 2016-11-19 15:13:32 +07:00