Skip to main content
Version: 8.x

Writable Recipe

require 'recipe/deploy/writable.php';

Source

Configuration​

http_user​

Source

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.

Autogenerated

The value of this configuration is autogenerated on access.

http_group​

Source

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.

Autogenerated

The value of this configuration is autogenerated on access.

writable_dirs​

Source

List of writable dirs.

writable_mode​

Source

One of:

  • chown
  • chgrp
  • chmod
  • acl
  • sticky
  • skip
Default value
'acl'

writable_use_sudo​

Source

Using sudo in writable commands?

Default value
false

writable_recursive​

Source

Use recursive mode (-R)?

Default value
false

writable_chmod_mode​

Source

The chmod mode.

Default value
'0755'

writable_acl_groups​

Source

List of additional groups to give write permission to.

writable_acl_force​

Source

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.

Default value
false

Tasks​

deploy:writable​

Source

Makes writable dirs.