Make sure that you have not installed your Palworld game server under a Windows protected folder, such as "Program Files" or "Program Files(x86)", or under the "C:\Users" folder.
These folders are protected by Windows, in that they don't allow applications to modify each others files/folders...