Visit BoonEx Page at Facebook

Facebook

Join BoonEx group at LinkedIn

LinkedIn

Follow BoonEx on Twitter

Twitter

Subscribe to BoonEx Blog RSS feed

RSS
ydrargyros

D7:Change Perimissions in command Line

Here's a nice way to reduce Dolphin 7 installation to 5 minutes only. If you are lucky to have shell access to your hosting server then all you have to do is run the following scripts and all Permissions Changes will take place in a batch process (virtually 1 minute for all).

1) For the Setup of installation run the following 2 commands:

chmod 777 ./backup ./cache ./cache_public ./inc ./langs ./media/app ./media/images ./media/images/banners ./media/images/blog ./media/images/classifieds ./media/images/membership ./media/images/profile ./media/images/profile_bg ./media/images/promo ./media/images/promo/original ./tmp ./plugins/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer ./plugins/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/CSS ./plugins/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/HTML ./plugins/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/Test ./plugins/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/URI ./flash/modules/global/app/ffmpeg.exe

chmod 666 ./flash/modules/global/data/integration.dat ./flash/modules/board/xml/config.xml ./flash/modules/board/xml/langs.xml ./flash/modules/board/xml/main.xml ./flash/modules/board/xml/skins.xml ./flash/modules/chat/xml/config.xml ./flash/modules/chat/xml/langs.xml ./flash/modules/chat/xml/main.xml ./flash/modules/chat/xml/skins.xml ./flash/modules/desktop/xml/config.xml ./flash/modules/desktop/xml/langs.xml ./flash/modules/desktop/xml/main.xml ./flash/modules/desktop/xml/skins.xml ./flash/modules/global/xml/config.xml ./flash/modules/global/xml/main.xml ./flash/modules/im/xml/config.xml ./flash/modules/im/xml/langs.xml ./flash/modules/im/xml/main.xml ./flash/modules/im/xml/skins.xml ./flash/modules/mp3/xml/config.xml ./flash/modules/mp3/xml/langs.xml ./flash/modules/mp3/xml/main.xml ./flash/modules/mp3/xml/skins.xml ./flash/modules/photo/xml/config.xml ./flash/modules/photo/xml/langs.xml ./flash/modules/photo/xml/main.xml ./flash/modules/photo/xml/skins.xml ./flash/modules/video/xml/config.xml ./flash/modules/video/xml/langs.xml ./flash/modules/video/xml/main.xml ./flash/modules/video/xml/skins.xml ./flash/modules/video_comments/xml/config.xml ./flash/modules/video_comments/xml/langs.xml ./flash/modules/video_comments/xml/main.xml ./flash/modules/video_comments/xml/skins.xml ./flash/modules/board/files ./flash/modules/chat/files ./flash/modules/photo/files ./flash/modules/im/files ./flash/modules/mp3/files ./flash/modules/video/files ./flash/modules/video_comments/files ./inc/prof.inc.php

2) After installation (permission reversal):
chmod 755 ./inc

ATTENTION! For some reason if i change the "inc" directory's permissions to 755 i don see them operating correct (according to the permission checker Boonex has) in AdminPanel->Tools->Permissions, so you it with care and responsibility!

If you need a hosting plan with shell access contact me and we'll see what we can do!

bad
7
good
 
 

Comments

totallyfreak
totallyfreak 119 days agocomment permalink
 
thx very very usefull...
 
bad
0
good
 
 
ydrargyros
ydrargyros(positive) 119 days agocomment permalink
 
well, during the tests i found out some differences between the dolphin7 and previous dolphin documentation bout permissions, not mentioning that testing D7 will take me more than 10 installations...i had to make my life easier! :)
 
bad
0
good
 
 
greymatters
greymatters(positive) 118 days agocomment permalink
 
Thanks dear.

It will save much time. I have VPS Hosting WHM Panel but never run these type of script from there, can you please tell me in detail from where i can use shell access n run your both scripts.
 
bad
0
good
 
 
ydrargyros
ydrargyros 118 days agocomment permalink
 
you can simply download putty (a free ssh program) and connect to your website directly, using your admin and pass! if you are having trouble with it contact me!
 
bad
0
good
 
 
DosDawg
DosDawg(positive) 117 days agocomment permalink
 
hmmm, thats just quite odd that you would have a need to even do that? as it was my experience that there was only one file that needed chmod and that was ffmpeg.exe, and only one that needed a reversal. so where this was the case in point for pre-D7.

Regards,
DosDawg
 
bad
0
good
 
 
greymatters
greymatters(positive) 117 days agocomment permalink
 
WoooW. You are guru Vdrargyros.

Putty is also good and now i can change permissions in just 2secs, it was too boring earlier.

Thanks a Ton.
 
bad
0
good
 
 
ydrargyros
ydrargyros(positive) 1 day agocomment permalink
 
ATTENTION!!!
The instructions i gave do not work
(not entirely) for D7b8! Please stay tuned for updates!
I also want to write a small "How-To" on how to do all these, so if you guys want it just say so in here.
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
ydrargyros Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
PET:1.46962499619