Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If the write permission or file ownership is set incorrectly such that "drush feature-update" cannot write new files, drush continues and still displays the "Created module: ..." message instead of failing with an error.
In the latest Drush 5 the individual file operations properly display error messages. But these results are not used by "feature-update" to generate a top-level error.
Comment | File | Size | Author |
---|---|---|---|
#1 | features-drush-file-access-error-1659130-1.patch | 1.72 KB | mpotter |
Comments
Comment #1
mpotter CreditAttribution: mpotter commentedHere is a patch to improve the error messages. The case of all files failing is detected separately from the case of only some files failing. Only the case where all files fail is cause for the "die" error. It's possible that we also want to die if any file failed, but looking for opinions on that.
Comment #2
hefox CreditAttribution: hefox commentedMore standard to just do if ($res) {
!$fils_success?
Double quotes with unslashes ' is better for translations tmk. Not sure about \n in t
elseif