Couldn't modify default library in /usr/share/kicad/modules dir

I try to add 3D module to the footprint PinHeader_1x05_P2.54mm_Vertical. as below:


But when i try to save this modify. it’s failed as:

After I change these files permission as:

┗─╼[/usr/share/kicad]
▹ll
total 48
drwxrwxr-x.  17 root root  4096 Dec  3  2020 demos
drwxrwxr-x.   2 root root 20480 Dec 31 22:25 library
drwxrwxr-x. 135 root root 12288 Jun  7 18:14 modules
drwxrwxr-x.   2 root root  4096 Dec 31 22:25 plugins
drwxrwxr-x.   4 root root  4096 Dec  3  2020 scripting
drwxrwxr-x.  19 root root  4096 Dec 31 22:25 template

and add myself in root group.

▹cat /etc/group
root:x:0:yangyongsheng,root

I still could modify these library files.I wonder to know how could i modify these librarys success?

You should save a copy of the symbol in your personal library and modify that instead of trying to bypass system permissions which is sloppy, dangerous and unnecessary. Also your changes will be wiped out the next time you update the system libraries.

3 Likes

thanks, it’s a good idea. :smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.