Public bug reported: There is a check in the copy worker that looks to see if the user running the copy worker owns the files it is trying to copy
``` if (!g_file_query_exists (src, NULL) || !file_is_ours (src)) exit (EXIT_SUCCESS); ``` From all my testing, the copy worker will always run as a newly created user, and thus not own the file in /run/gnome-initial-setup and always exit here. My workaround in provd is to update the ownership of the file in /run/gnome-initial-setup to the newly created user before booting into their session, allowing this check to pass. Without this workaround, several settings applied in the gnome-initial- setup new user flow (mainly a11y) are not persisted to the new user after the gis process concludes. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: gnome-initial-setup 45.0-1ubuntu3 [modified: usr/share/applications/gnome-initial-setup.desktop] ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13 Uname: Linux 6.5.0-26-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Tue Mar 26 14:31:52 2024 InstallationDate: Installed on 2024-03-02 (24 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/usr/bin/zsh TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: gnome-initial-setup UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-initial-setup (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug mantic wayland-session ** Description changed: - These is a check in the copy worker that looks to see if the user + There is a check in the copy worker that looks to see if the user running the copy worker owns the files it is trying to copy ``` if (!g_file_query_exists (src, NULL) || - !file_is_ours (src)) - exit (EXIT_SUCCESS); + !file_is_ours (src)) + exit (EXIT_SUCCESS); ``` From all my testing, the copy worker will always run as a newly created user, and thus not own the file in /run/gnome-initial-setup and always exit here. My workaround in provd is to update the ownership of the file in /run/gnome-initial-setup to the newly created user before booting into their session, allowing this check to pass. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: gnome-initial-setup 45.0-1ubuntu3 [modified: usr/share/applications/gnome-initial-setup.desktop] ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13 Uname: Linux 6.5.0-26-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Tue Mar 26 14:31:52 2024 InstallationDate: Installed on 2024-03-02 (24 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/usr/bin/zsh - TERM=xterm-256color - XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/usr/bin/zsh + TERM=xterm-256color + XDG_RUNTIME_DIR=<set> SourcePackage: gnome-initial-setup UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: There is a check in the copy worker that looks to see if the user running the copy worker owns the files it is trying to copy ``` if (!g_file_query_exists (src, NULL) || !file_is_ours (src)) exit (EXIT_SUCCESS); ``` From all my testing, the copy worker will always run as a newly created user, and thus not own the file in /run/gnome-initial-setup and always exit here. My workaround in provd is to update the ownership of the file in /run/gnome-initial-setup to the newly created user before booting into their session, allowing this check to pass. + + Without this workaround, several settings applied in the gnome-initial- + setup new user flow (mainly a11y) are not persisted to the new user + after the gis process concludes. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: gnome-initial-setup 45.0-1ubuntu3 [modified: usr/share/applications/gnome-initial-setup.desktop] ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13 Uname: Linux 6.5.0-26-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Tue Mar 26 14:31:52 2024 InstallationDate: Installed on 2024-03-02 (24 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/usr/bin/zsh TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: gnome-initial-setup UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059121 Title: The gnome-initial-setup-copy-worker never seems to have the correct permissions to copy from /run/gnome-initial-setup go a users ~/.config To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-initial-setup/+bug/2059121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs