BUG: Fix permissions