I get the error message “Failed to set temporary file permissions” for the .kicad_sch and kicad_pcb file. I don’t get this error when I create a new project on my local hard disk,
How to fix this issue?
Ubuntu20.04
kicad 6.0.4
before I used 6.0.2. So I didn’t find this issue.
This problem has only occurred since updating it from 6.0.2 to 6.0.3
You should not use KiCad V6.0.3 at all.
It was never released officially, because of some serious bug and KiCad V6.0.4 was released a few days later.
Your Samba bug may be related to:
Windows Specific Issues
Network Shares
Editing projects located on Windows networks shares provided by samba servers (non-Windows Server, i.e. Synology, FreeNAS) may result in crashes due to samba generating bad file change events and our cross-platform toolkit asserting the invalid event rather than ignoring it. Windows Server hosted shares should not encounter this issue.
You will have to work on a local drive if you encounter crashes working from a network drive for now. More details can be found in GitLab Bug #5740.
I notice you are using the Samba share via GVFS (Gnome Virtual File System). I find the GVFS Samba client while convenient for casual use isn’t as robust as a CIFS mount. Here’s an example of a HOWTO for Ubuntu: How to Mount SMB Shares on Ubuntu?
Hmm. I notice that in your original post, KiCad is attempting a cross-filesystem move when it should be a move-or-copy+delete. Perhaps this is the fallout from the attempt to reduce traffic on a network share that used to cause a different problem. Anyway, you should report your problem at Gitlab, ortherwise it may get lost here.