Skip to main content
Version: 7.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'

Tasks

deploy:writable

Source

Makes writable dirs.