You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running raspi-config to configure the keyboard this creates the $HOMEDIR/.config/labwc folder (with mkdir -p) for the user running raspi-config. This folder is then chowned to $USER, as it should be.
If the $HOMEDIR/.config directory doesn't exist, though, this directory will still be owned by root:root afterwards.
If the $HOMEDIR/.config directory doesn't exist before doing this it should be created with the correct permissions in a separate step first.
The text was updated successfully, but these errors were encountered:
tboehler1
added a commit
to tboehler1/raspi-config
that referenced
this issue
Jan 14, 2025
When the $HOMEDIR/.config/labwc folder is created it also creates the
$HOMEDIR/.config folder if it doesn't exist. As raspi-config is run with
sudo this makes the root user own the $HOMEDIR/.config directory.
Afterwards, only the $HOMEDIR/.config/labwc directory owner is changed
to $USER.
Add a function that ensures that the $HOMEDIR/.config directory exists
and, if it doesn't, create it with the correct permissions.
Fixes: RPi-Distro#267
Signed-off-by: Thomas Böhler <[email protected]>
When running
raspi-config
to configure the keyboard this creates the$HOMEDIR/.config/labwc
folder (withmkdir -p
) for the user runningraspi-config
. This folder is thenchown
ed to$USER
, as it should be.If the
$HOMEDIR/.config
directory doesn't exist, though, this directory will still be owned byroot:root
afterwards.If the
$HOMEDIR/.config
directory doesn't exist before doing this it should be created with the correct permissions in a separate step first.The text was updated successfully, but these errors were encountered: