Dolphin 6.1 file permissions - made easy....woo hoo!

Profesize posted 27th of October 2008 in Community Voice. 5 comments.

Here are 2 files that'll speed up your installation by about 200%........not sure if anyone else has done this already but I thought I should post it just in case.

 

Right.........first of all get yourself a little bit of software called putty.exe as you'll need it or something like it to enter the following text files.

 

Copy and paste the following into notepad and call it something like chmodpreinstall61.txt and dump it in the root along with all your installation files.

-------------------------------------------------------------------------------------

 

chmod -v 777 backup
chmod -v 777 cache
chmod -v 777 groups/gallery
chmod -v 777 groups/orca/cachejs
chmod -v 777 groups/orca/classes
chmod -v 777 groups/orca/js
chmod -v 777 groups/orca/layout
chmod -v 777 groups/orca/log
chmod -v 777 inc
chmod -v 777 langs
chmod -v 777 media/images
chmod -v 777 media/images/banners
chmod -v 777 media/images/blog
chmod -v 777 media/images/classifieds
chmod -v 777 media/images/gallery
chmod -v 777 media/images/profile
chmod -v 777 media/images/profile_bg
chmod -v 777 media/images/promo
chmod -v 777 media/images/promo/original
chmod -v 777 media/images/sdating
chmod -v 777 media/images/sharingImages/
chmod -v 777 media/sound
chmod -v 777 media/video
chmod -v 777 orca/cachejs
chmod -v 777 orca/classes
chmod -v 777 orca/conf
chmod -v 777 orca/js
chmod -v 777 orca/layout
chmod -v 777 orca/log
chmod -v 777 periodic
chmod -v 777 tmp
chmod -v 666 inc/db_cached/MenuContent.inc
chmod -v 666 inc/db_cached/PageView.inc
chmod -v 666 inc/db_cached/ProfileFields.inc
chmod -v 666 inc/db_cached/SiteStat.inc
chmod -v 666 inc/params.inc.php
chmod -v 666 inc/prof.inc.php
chmod -v 666 periodic/cmd.php
chmod -v 666 periodic/cupid.php
chmod -v 666 periodic/notifies.php
chmod -v 777 ray/modules/board/files
chmod -v 777 ray/modules/chat/files
chmod -v 777 ray/modules/im/files
chmod -v 777 ray/modules/movie/files
chmod -v 777 ray/modules/mp3/files
chmod -v 777 ray/modules/music/files
chmod -v 666 ray/modules/global/data/integration.dat
chmod -v 666 ray/modules/board/xml/config.xml
chmod -v 666 ray/modules/board/xml/langs.xml
chmod -v 666 ray/modules/board/xml/main.xml
chmod -v 666 ray/modules/board/xml/skins.xml
chmod -v 666 ray/modules/chat/xml/config.xml
chmod -v 666 ray/modules/chat/xml/langs.xml
chmod -v 666 ray/modules/chat/xml/main.xml
chmod -v 666 ray/modules/chat/xml/skins.xml
chmod -v 666 ray/modules/desktop/xml/config.xml
chmod -v 666 ray/modules/desktop/xml/langs.xml
chmod -v 666 ray/modules/desktop/xml/main.xml
chmod -v 666 ray/modules/desktop/xml/skins.xml
chmod -v 777 ray/modules/global/app/ffmpeg.exe
chmod -v 666 ray/modules/global/inc/cron.inc.php
chmod -v 666 ray/modules/global/inc/header.inc.php
chmod -v 666 ray/modules/global/xml/config.xml
chmod -v 666 ray/modules/global/xml/main.xml
chmod -v 666 ray/modules/im/xml/config.xml
chmod -v 666 ray/modules/im/xml/langs.xml
chmod -v 666 ray/modules/im/xml/main.xml
chmod -v 666 ray/modules/im/xml/skins.xml
chmod -v 666 ray/modules/movie/xml/config.xml
chmod -v 666 ray/modules/movie/xml/langs.xml
chmod -v 666 ray/modules/movie/xml/main.xml
chmod -v 666 ray/modules/movie/xml/skins.xml
chmod -v 666 ray/modules/mp3/xml/config.xml
chmod -v 666 ray/modules/mp3/xml/langs.xml
chmod -v 666 ray/modules/mp3/xml/main.xml
chmod -v 666 ray/modules/mp3/xml/skins.xml
chmod -v 666 ray/modules/music/xml/config.xml
chmod -v 666 ray/modules/music/xml/langs.xml
chmod -v 666 ray/modules/music/xml/main.xml
chmod -v 666 ray/modules/music/xml/skins.xml
chmod -v 666 ray/modules/presence/xml/config.xml
chmod -v 666 ray/modules/presence/xml/langs.xml
chmod -v 666 ray/modules/presence/xml/main.xml
chmod -v 666 ray/modules/presence/xml/skins.xml
chmod -v 666 ray/modules/shoutbox/xml/config.xml
chmod -v 666 ray/modules/shoutbox/xml/langs.xml
chmod -v 666 ray/modules/shoutbox/xml/main.xml
chmod -v 666 ray/modules/shoutbox/xml/skins.xml
chmod -v 666 ray/modules/video/xml/config.xml
chmod -v 666 ray/modules/video/xml/langs.xml
chmod -v 666 ray/modules/video/xml/main.xml
chmod -v 666 ray/modules/video/xml/skins.xml

 

-------------------------------------------------------------------------------

 

Using Putty, navigate to where the file is and type:

 

bash chmodpreinstall61.txt

 

Hit <Enter> and watch how quickly the file permissions change and how much time you have just saved.

 

Click next on your Dolphin install and you should have all green ticks.

 

Once you are near the end of your installation you have to change some file permissions back to a more secure level so get ready to make another file using notepad and call it chmodpostinstall61.txt using the following text:

-----------------------------------------------------------------------------

 

chmod 755 inc/ periodic/
chmod 644 periodic/cmd.php periodic/notifies.php periodic/cupid.php
chmod 644 ray/modules/global/inc/header.inc.php

 

------------------------------------------------------------------------------

 

Hardly worth it but hey...........it doesn't hurt.  Go to the same place as before using Putty and type in:

 

bash chmodpostinstall61.txt

 

then hit <Enter>

 

It may seem as though nothing has happened but it has. Check the permissions have gone back to what they should be via the Dolphin installation and remember to exit out of Putty.

 

And voila, a speedier installation.

 

There's a zipped folder with the 2 text files for those in a reaaaaaaaally big hurry!

 

Hope that helps...............see ya!

 

 

PROFESIZE

 
Comments
·Oldest
·Top
Please login to post a comment.
You are right. Boonex has done this already.
http://www.boonex.com/trac/dolphin/wiki/DetailedInstall
iced
Is this for ppl on vps/dedicated servers or does it apply to shared hosts as well?
Profesize
You can use this on both shared and vps/dedicated servers.
ydrargyros
done it a week ago for dolphin 7!
to make it easier for the users try this:
chmod 777 ./backup ./cache
etc etc!
just 2 commands for all lines
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.052252054214478