[ENH] move function upwards for being invoked by workaround functions

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@51232 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] complete 'for'-loop

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@51233 b456876b-0849-0410-b77d-98878d47e9d5
[ENH] chmod only directories in whitelist - part II

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@51234 b456876b-0849-0410-b77d-98878d47e9d5
[ENH] Modified file-top comment. 

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@51235 b456876b-0849-0410-b77d-98878d47e9d5