Problems with modifying an existing footprint

I am trying to modify an existing footprint and then saving it in the current library.

However, when I try to save it in the current library I get the following error message

IO_ERROR: Impossible to rename temporary file C:\Program Files\KiCad\share\modules\dis549.tmp in the library C:\Program Files\KiCad\share\modules\discret.mod
from
f:/kicad-launchpad/stable/stable_2013-07-07_BZR4022/pcbnew/legacy_plugin.cpp:Save() : line 4144

Any idea how to solve it?

As usual, system files are read only.

Save it somehwere else.

I have tried to save the module in a new library in C:\ Then I opened CVPCB and added the library so I associated the footprint to the part. I save it, create the netlist. However when I import the netlist in PCBNew an error occours because the saved footprint is not found.

Unless your user has admin permissions (which it shouldn’t), you cannot save anything to “C:” and therefore it cannot work. Save the library to a user-owned (private) folder.

Should your regular user account have admin permissions, then you have bigger problems than kicad not working.