added check to avoid permissions mistakes
Merge branch 'master' of https://github.com/globaleaks/GlobaLeaks