Thank you very much, I fixed it. The problem was that the “Minecraft” folder had the permissions of the old owner.