File permissions locking out other developers
Description
When a schematic is edited some files are automatically created with user-only rw-permissions. The file owner of some existing files is changed to the current user.
Sadly, this creates problems when a schematic has to be modified by multiple developers at different days during the week. Typically one developer is assigned to the power supply while another is doing the RF frontend and a third one doing the ESD protection.
This szenario requires all developers to change back owners and file permissions whenever they want to open a design. Doing so also requires elevated admin rights which may impose additional security risks.
We would appreciate very much if kicad would respect the umask settings as default and not change file owners and permissions at will.
An acceptable workaround would be to be able to define the desired permissions somewhere in the preferences. But the best way would be not to modify owner/permissions of existing files at all.
Steps to reproduce
Create a schematic and close Kicad. Check the file owners and permissions of the created files. A different user will not be able to open the design without changing the file properties.
KiCad Version
Application: KiCad
Version: 6.0.10+dfsg-2, release build
Libraries:
wxWidgets 3.2.1
libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.51.0 librtmp/2.3
Platform: Linux 6.0.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK, xfce, x11
Build Info:
Date: Dec 29 2022 17:43:50
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.87.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON