Fix Lua script permissions.