Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support different writable modes #11

Open
gaambo opened this issue Jul 10, 2023 · 0 comments
Open

Support different writable modes #11

gaambo opened this issue Jul 10, 2023 · 0 comments

Comments

@gaambo
Copy link
Owner

gaambo commented Jul 10, 2023

PHP Deployer supports different writable_modes (chown, chgrp, chmod, acl, sticky, skip). At the moment we always run chown and chmod. In bfe5803 I added a check if chown is available before using it (so it can be disabled by setting writable_mode to anything but "chown"). But for other environments this may not be enough.
We've got a custom deploy:writable task, because we set the file permissions according to WordPress best practices, but we probably should support the different modes in the original deploy:writable from PHP Deployer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant