Closed (works as designed)
Project:
DrupalPro
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2012 at 17:19 UTC
Updated:
6 Nov 2012 at 05:50 UTC
Jump to comment: Most recent file
The quickstart fix permissions command
drush qf
doesn't switch the group bit to writeable on files (does for dirs), but it has to be since the web server running as group www-data won't be able to delete or overwrite existing files without it. I've attached a simple patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | quickstart.perms_.again_.patch | 1.44 KB | chrisschaub |
| #2 | quickstart.fix_.patch | 1.44 KB | chrisschaub |
| #1 | quickstart.drush_.inc_.fileperms.patch | 1.21 KB | chrisschaub |
| quickstart.drush_.inc_.fileperms.patch | 1.31 KB | chrisschaub |
Comments
Comment #1
chrisschaub commentedSorry, that last patch was not quite right. Here's an updated version.
Comment #2
chrisschaub commentedMan, working too fast! Ignore those last two patches.
Comment #3
chrisschaub commentedSigh, found a typo. Here it is again.
Comment #4
mike stewart commented@cschaub -- hmm, at first glance this patch doesn't do anything that these existing lines aren't trying to do...
In the first line, the statement searches for any child folder under sites named files (in the scond it searches for files_private). For each instance, it executes a chmod recursively on all files and folders setting user & group permissions to RW (and folders get X -- which allows listing of files).
Maybe you can provide more details and I can help debug whats going on? Please feel free to hit me up in IRC #drupalpro
Comment #5
mike stewart commentedNote, I REALLY appreciate your effort and the patch!!!