Performance fix for permissions
Merge pull request #534 from naturwerk/emin

Performance fix for permissions