Back to Deployer

Writable Recipe

docs/recipe/deploy/writable.md

8.0.32.6 KB
Original Source
<!-- DO NOT EDIT THIS FILE! --> <!-- Instead edit recipe/deploy/writable.php --> <!-- Then run bin/docgen -->

Writable Recipe

php
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. :::info 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. :::info 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
php
'acl'

writable_use_sudo

Source

Using sudo in writable commands?

php
false

writable_recursive

Source

Use recursive mode (-R)?

php
false

writable_chmod_mode

Source

The chmod mode.

php
'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.

php
false

Tasks

deploy:writable {#deploy-writable}

Source

Makes writable dirs.