Closed (fixed)
Project:
Gallery
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2006 at 18:58 UTC
Updated:
14 Oct 2006 at 16:45 UTC
At the risk of annoying the author, I've reopened this and am attaching a patch to change the behavior of the latest release just slightly....
The current code requires that both the config.php file be writable and the gallery module directory be writable. I don't like that arrangement. If there is no config.php, then the module needs write permission on the directory in order to create one. But if there is one, then it only needs write permission on the file to update it, not on the directory. That's how I have my installation configured and IMHO that it is preferred to having the whole directory open....
The attached patch accomplishes this.
| Comment | File | Size | Author |
|---|---|---|---|
| gallery.config-permission.patch.txt | 862 bytes | rbroberts |
Comments
Comment #1
rbroberts commentedI didn't say that quite right in the original message. The permission check in on the g2image config.php in TinyMCE, but the principle is the same; only the file itself needs write permission, not the whole directory.
Comment #2
kiz_0987 commentedCommitted to HEAD.
Comment #3
(not verified) commented