Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When syncing to a datastore that is marked as "This is a remote server" an error is generated stating:
The current user does not have write permissions in the directory config://.
Expected behaviour
It is expected that the module would check to see if the datastore was read only due to being remote, and skip any step that required writing to a datastore.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2595231-configuration-sync-remote-3.patch | 736 bytes | barbun |
|
Comments
Comment #2
Lord Pachelbel CreditAttribution: Lord Pachelbel commentedI can confirm this with a site hosted on Pantheon. The config directory on dev has write permissions but it doesn't on test or live, so synchronizing in those environments creates the error message and also floods the database log with that message, too.
Comment #3
Lord Pachelbel CreditAttribution: Lord Pachelbel commentedComment #4
barbun CreditAttribution: barbun as a volunteer commentedComment #5
Lord Pachelbel CreditAttribution: Lord Pachelbel commentedThat patch seems to work. It prevents the flood of error messages during synchronization.