This thread is very old but I ran into the same issue and I don't see a viable solution for this thread so I will post my solution in case someone has same issue and even for my future self ;).
In proxmox7 the /etc/pve/ directory is lock by proxmox so no actions can be made.
to unlock it...