The gnome-initial-setup-copy-worker never seems to have the correct permissions to copy from /run/gnome-initial-setup go a users ~/.config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-initial-setup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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_
!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-
My workaround in provd is to update the ownership of the file in /run/gnome-
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/
ProcVersionSign
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
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-
XDG_RUNTIME_
SourcePackage: gnome-initial-setup
UpgradeStatus: No upgrade log present (probably fresh install)
Hi Matt, what do you mean with "the file in /run/gnome- initial- setup"? The code you quote is checking for the home directory of the user owning the process.