Closed (fixed)
Project:
Drush
Component:
Config
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2012 at 16:12 UTC
Updated:
26 Nov 2012 at 16:30 UTC
If we save 'file_private_path' variable on 'admin/config/media/file-system' page as empty string, private file system becomes unavailable in Drupal: http://drupalcode.org/project/drupal.git/blob/b9127101ffeca819e74a03fa9f...
The same should be done in Drush.
Initial patch for branch 7.x-5.x attached.
Why I decided to fix it:
drush perms command (#990812: Add a "permissions" subcommand to fix/set all file permissions) takes private path '' (if it is an empty string), convert to absolute path and sets permissions for whole drupal directory as for private folder. Not so cool.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| drush-status-private-files.patch | 640 bytes | kalabro |
Comments
Comment #1
greg.1.anderson commentedI agree that this should be committed; the Drush permissions command should also be fixed to ignore empty relative paths.
Comment #2
greg.1.anderson commentedCommitted. Thanks.
Comment #3
jonhattanBackported.