Fixing global permissions