Background
I have clean drupal installation
I have files/config folder with permission in it
Issue
There is error message if I try to start tracking using drush. If I start tracking with ui, the error does not occur
drush command
drush csta view.frontpage
error message
file_put_contents(config://view.frontpage.inc): failed to open stream: "ConfigurationStreamWrapper::stream_open" call failed StoragePhp.php:105 [warning]
file_put_contents(config://tracked.inc): failed to open stream: "ConfigurationStreamWrapper::stream_open" call failed Configuration.php:634 [warning]
The configurations changes for for the following items are now being tracked. [ok]
view.frontpage
Comments
Comment #1
dagmar@neoxavier Thats is basically saying that drush doesn't have permissions to write in the config directory.
Did you tried with?
Comment #2
lucascaro CreditAttribution: lucascaro commentedalso, sudo -u apache or sudo -u www-data should work.
Comment #3
neoxavier CreditAttribution: neoxavier commentedHello,
oh yeah, my bad.. I assign the wrong group to the folder.
Thanks
Comment #4
neoxavier CreditAttribution: neoxavier commentedit fixed
Comment #6
Chi CreditAttribution: Chi commentedI believe it isn't fixed. We should be able to use drush without root access. As stated in documentation all of our files should be 'read only' for the Apache process, and owned with write permissions by a separate user. Drupal core modules set 664 permissions on files and 775 on directories. But the module doesn't.