I can't save my schematic after adding a sheet. Linux

I’m trying to add additional schematic sheets to my schematic. I see that I can add them with no problem in either the schematic directly or the project schematic. The trouble is that when I try to save, it says no such directory. Then check your permissions. I can load, change, and save the original schematic, but I can’t add a sheet and then save it.

Ubuntu 24.04.1 LTS
Application: KiCad x86_64 on x86_64

Version: 8.0.5-8.0.5-0~ubuntu24.04.1, release build

Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7

Platform: Ubuntu 24.04.1 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, wayland

Build Info:
Date: Sep 6 2024 21:35:42
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.6.3
Curl: 8.5.0
ngspice: 42
Compiler: GCC 13.2.0 with C++ ABI 1018

Build settings:

It is not clear to me what you are attempting to do. What functions do you use to “add a schematic”? Are you familiar with hierarchical sheets, and how they work in KiCad? If not, start there first.

I tried several different things, hierarchical and flat. Both seem to operate fine, I can edit, pretty much do anything I want. I just can’t save it.

And the “root” schematic, can you save that?

I am guessing it has something to do with your OS and file permissions. What is the location of those other schematic files? What are the file permissions of the files you are attempting to add to your project? Can you create / modify files in that directory with some other program? Have you tried first copying those files into your KiCad project?

Container formats such as snap (sometimes also used for KiCad) have their own limitations, they attempt to isolate the program from the rest of your OS, and you have to give it explicit permission to a program to write outside of certain locations, but I don’t use this myself and don’t know the details.

Other schematics saved in the same location have no issues. In fact, I can open this schematic, make changes, and save it without problems. It is only after I add additional schematic pages that it refuses to save.

Can you record and share a screen capture of what’s going on? (From adding the new hierarchical sheet).