Using Drupal 7.38.
At /admin/config/system/configuration/settings, you can set the checkbox "This is a remove server", with the explanation that this is for servers who should only "receive", but not create configurations (correct me if I'm wrong!).
So IMHO if this mark is set, the configuration module is NOT allowed to write to the datastore under any circumstancy.
But I VERY often have the problem that, despite this checkbox is activated, after clicking on Syncronize or calling drush csyn, there are some files modified in the config directory.

a git diff config/field.node.body.person.inc e.g. gives:

@@ -102,19 +102,19 @@ $data = array(
     'label' => 'Beschreibung',
     'required' => 0,
     'settings' => array(
+      'text_processing' => '1',
       'display_summary' => 1,
-      'text_processing' => 1,
       'user_register_form' => FALSE,
     ),

Which is only a reformatting without real change. But there are changes as well. Because I use git, I then cannot use a simple git pull to fetch my new configuration from the development server - it complains about "would overwrite" some files - the modified ones by the configuration module.

IMHO this is really a bug, and a bad one. (Again, correct me if I'm wrong!)

Comments

nerdoc’s picture

as there are other reformatting examples like

-        'rows' => 20,
+        'rows' => '20',

I suppose that drush csyn export does use another engine as "Export to datasync"

nerdoc’s picture

Maybe this is the same issue as this here?

barbun’s picture

This is a duplicate of https://www.drupal.org/node/2595231
I submitted a patch there.