Closed (fixed)
Project:
Forena Reports
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2014 at 19:34 UTC
Updated:
21 Mar 2014 at 21:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
metzlerd commentedI'm not sure that this is appropriate for a few reasons:
I realize that I have a different opinion than the default behavior for drupal, and I'm willing to be convinced otherwise, but this seems to cause more problems than it solves? At least it does in my environment.
Comment #2
ram4nd commentedThe problem is that you must not have execution rights for files. If you can execute php files you are potentially at risk. It's purely for security reasons. You use ACL but your module in drupal org should have the right permissions, cause you are not the only one using it, you can do what you want in the privacy of your own home, but here you have to submit to standards. Most PHP applications run on Linux servers so that is not an argument. You can do your own research about this.
Comment #3
metzlerd commentedReally?!
.frx files are not php files and cannot be executed as such. They are data. Are you talking about forena code or are you talking about .frx files created by forena. I am not suggesting that the files shouldn't have the right permissions, just where that permission should be configured and enforced, for maximum security and cross platform compatibility.
I am not talking about the privacy of my own home... Forena is used almost exclusively as an enterprise app, and I have over 15 years of experience in maintaining enterprise linux environments. Perhaps you need to do some research about the proper use of umask in a linux environment and its implications for the security of your sites. Either way you do not appear to be interested in a dialogue about this, but speaking from some standard that you passed on from a non-drupal site reference. If you'd like to report this to the drupal security team, I'll be happy to dialogue with one of its members regarding this issue. I'd also be happy to dialogue with you if you are interested in a reasonable discussion.
I'll leave this open in case a reasonable discussion is actually desired here.
Comment #4
ram4nd commentedI am not talking about forena. I am talking about .inc files. Every file in your 7.x-4.x-dev branch have wrong permissions.
Comment #5
ram4nd commentedI even made a patch.
Comment #6
ram4nd commentedhttps://drupal.org/comment/2689024#comment-2689024
https://drupal.org/comment/8345257#comment-8345257
http://drupal.stackexchange.com/questions/39650/using-security-review-gi...
http://drupal.stackexchange.com/questions/373/what-are-the-recommended-d...
http://drupalcode.org/project/drupal.git/tree/refs/heads/8.x
http://drupalcode.org/project/drupal.git/tree/refs/heads/7.x
http://drupalcode.org/project/drupal.git/tree/refs/heads/6.x
Comment #7
metzlerd commentedOk, well that's different then. While I continue to not appreciate your condescending tone.... nor the barage of links... I did adjust the permissions on the php files .inc and .module files in 7.x-3x. and 7.x-4.x dev branches. I would encourage you as you post these patches with other maintainers to be a bit clearer about what you are requesting. I don't know if its your intention but you are coming off quite gruff and condescending.
Comment #8
ram4nd commentedEnglish is not my native language, so sorry. I just want to improve Drupal, cause I use it every day. Simplest things are permissions and coding standards. If I don't have much time I am focusing on those.
Comment #9
metzlerd commentedAll's well that ends well... Some days I am better than others at recognizing language barriers and cultural differences than others. No hard feelings....thanks for the contribution.