Feature #5750
Suggestion for install process
0%
Description
cmsmadesimple has a nice install feature whereby it lists all the directories that need their permissions setting in such a way that a "cut and paste" is all it takes.
For Chamilo I reckon this would be:
chmod 777 main/inc/conf/ chmod 777 main/upload/users/ chmod 777 main/default_course_document/images/ chmod 777 archive/ chmod 777 courses/ chmod 777 home/ chmod 777 main/css/ chmod 777 main/lang/ chmod 777 home/default_platform_document/ chmod 777 home/default_platform_document/template_thumb
probably only means adjusting $DirectoryAndFilePermissionsInfo in install.inc.php
Just a suggestion!
cheers
Rory
Related issues
History
Updated by Yannick Warnier about 8 years ago
- Target version changed from 1.9.4 to 1.9.6
+1, but it's international, so no need to alter the language files. It depends on the Windows/Linux difference though, so there should be a little check for that.
Ideally, the commands should be in an unfoldable box of some kind to not get in the way or frighten users who already have that right (OK, these guys won't be frightened, true...).
But that also calls for an automatic command generation to install the missing php packages and reconfigure PHP settings (OK, in another task, maybe).
We want to release a small 1.9.4 very soon, so I'm moving this to 1.9.6 (as I will do with a lot of others in th nxt few days), but don't worry, 1.9.6 shouldn't be much later either.
Updated by Alexander Hu about 8 years ago
Rory Fogerty wrote:
For Chamilo I reckon this would be:
chmod 777 main/inc/conf/
chmod 777 main/upload/users/
chmod 777 main/default_course_document/images/
chmod 777 archive/
chmod 777 courses/
chmod 777 home/
chmod 777 main/css/
chmod 777 main/lang/
chmod 777 home/default_platform_document/
chmod 777 home/default_platform_document/template_thumb
If you would do this on one of my machines, you would screw up your hosting.
These BAD settings mess up pretty much every security measure a server admin has done.
This just works, if you do hosting on crappy servers (pardon, but i have seen to many).
Usually, the ftp and webserver user should be the same, means, folders should be 755 or 775, but this would be maximum.
If you can't get it running withoud chmod 777 better change hosting ;-)
Updated by Rory Fogerty about 8 years ago
okay, okay, I get it - make it 755 or 775 if you prefer - thats not the point I was making.
The important thing is:
a) its a complete list so there are no surprises after installation e.g. when adding templates.
b) its simple to cut and paste - saves typing the whole thing in.
Updated by Alexander Hu about 8 years ago
Rory Fogerty wrote:
okay, okay, I get it - make it 755 or 775 if you prefer - thats not the point I was making.
The important thing is:
a) its a complete list so there are no surprises after installation e.g. when adding templates.
b) its simple to cut and paste - saves typing the whole thing in.
Well, believe it or not:
if you would do proper hosting, you don't need to change any permissions.
Sure, for the cheap shared hosting fumblers this would be nice; but in my opinion, these persons usually know that cheap hosting means a lot of more work than only change some folder permissions (just thinking for the .htaccess problem one of my customer hat, really nasty ;-)
Updated by Julio Montoya about 8 years ago
As talked by Yannick all those "dynamic" folders need to be moved in a folder like "data" so you just change permissions in 1 folder with chmod -R 777 data
Updated by Yannick Warnier about 8 years ago
- Target version changed from 1.9.6 to 2.0
That's correct. So I'm moving it to 1.10, which will hopefully see these changes happen.
Updated by Julio Montoya almost 8 years ago
- Complexity changed from Piece of cake to Challenging
- SCRUM pts - complexity deleted (
?)