If the magento_deploy_chmod* settings are not quoted, any setting that begins with a 0 will not have the expected effect due to how Ruby handles integer conversion using the to_i method (run this for an example). This is whereto_i is used in this Gem.
For example, if you add this setting in config/deploy.rb:
set :magento_deploy_chmod_f, 0660
Then the magento:setup:permissions command will use 432 instead of 660
If the magento_deploy_chmod* settings are not quoted, any setting that begins with a
0
will not have the expected effect due to how Ruby handles integer conversion using theto_i
method (run this for an example). This is whereto_i
is used in this Gem.For example, if you add this setting in
config/deploy.rb
:Then the
magento:setup:permissions
command will use432
instead of660
But if you set the value as a string, it works as expected: