set_owner_group

Sets owner and group of the shared and release path. This task invokes set_owner_group_of_shared_path and set_owner_group_of_release_path.

Usage

$ cap dev file_access:set_owner_group

Output

See outputs in tasks set_owner_group_of_shared_path and set_owner_group_of_release_path.

set_owner_group_of_shared_path

Sets owner and group of the shared path.

Configuration

set :default_file_access_owner_of_shared_path, "vagrant"
set :default_file_access_group_of_shared_path, "apache"

Usage

$ cap dev file_access:set_owner_group_of_shared_path

Output

$ sudo chown vagrant:apache [project_path]/shared

set_owner_group_of_release_path

Set owner and group of the release path recursively.

Configuration

set :default_file_access_owner_of_release_path, "vagrant"
set :default_file_access_group_of_release_path, "apache"

Usage

$ cap dev file_access:set_owner_group_of_release_path

Output

$ sudo chown -R vagrant:apache [project_path]/releases

set_permissions

Sets file permissions of the shared and release path.

This task invokes set_permissions_of_shared_path and set_permissions_of_release_path.

Usage

$ cap dev file_access:set_permissions

Output

See outputs in tasks set_permissions_of_shared_path and set_permissions_of_release_path.

set_permissions_of_shared_path

Sets file permissions of the shared path.

Configuration

set :default_file_access_mode_of_shared_path, "u+rwx,g+rx,g-w,o-rwx"

Usage

$ cap dev file_access:set_permissions_of_shared_path

Output

$ sudo chmod u+rwx,g+rx,g-w,o-rwx [project_path]/shared

set_permissions_of_release_path

Sets file permissions recursively of the release path.

Configuration

set :default_file_access_mode_of_release_path, "u+rwx,g+rx,g-w,o-rwx"

Usage

$ cap dev file_access:set_permissions_of_release_path

Output

$ sudo chmod -R u+rwx,g+rx,g-w,o-rwx [project_path]/releases

Search Results powered by Algolia Search