config:app:set has no "type" parameter
occ config:system:set has --type parameter and you can set a setting to boolean true or false.
occ config:app:set has no --type parameter. Do something like:
php occ config:app:set files enable_lock_file_action --value trueActually the setting is string "true". Code that gets the setting ends up understanding that it is boolean true because it is non-zero.
php occ config:app:set files enable_lock_file_action --value falseThe setting is string "false". Code that gets the setting ends up understanding that it is boolean true because it is non-zero. But users get confused, it looks false but the functionality is still enabled.
php occ config:app:set files enable_lock_file_action --value 0Setting to 0 really switched off the setting.
occ config:app:delete files enable_lock_file_actionDeleting the setting allows it to go back to its default of false.
It would be less confusing if we could do:
php occ config:app:set files enable_lock_file_action --type boolean --value falseIf the backend database field is only storing a string, then --type boolean --value false could store "0" and --type boolean --value true could store "1".
Source: owncloud/core