Writable Recipe
require 'recipe/deploy/writable.php';
Configuration
http_user
Used to make a writable directory by a server.
Used in chown and acl modes of writable_mode.
Attempts automatically to detect http user in process list.
The value of this configuration is autogenerated on access.
http_group
Used to make a writable directory by a server.
Used in chgrp mode of writable_mode only.
Attempts automatically to detect http user in process list.
The value of this configuration is autogenerated on access.
writable_dirs
List of writable dirs.
writable_mode
One of:
- chown
- chgrp
- chmod
- acl
- sticky
- skip
'acl'
writable_use_sudo
Using sudo in writable commands?
false
writable_recursive
Use recursive mode (-R)?
false
writable_chmod_mode
The chmod mode.
'0755'
writable_acl_groups
List of additional groups to give write permission to.
writable_acl_force
Force ACLs to be reapplied even if they already exist. Useful when recursive ACLs need to reach new nested paths but sudo isn't available. Slower, so enable only to fix writable dir permissions.
false
Tasks
deploy:writable
Makes writable dirs.