Remove param from container
Another stab at chmod settings.
Use correct variable reference.
Remove deprecated code.
Remove blank line
Merge pull request #1291 from zikula/chmod

Fix permissions issues