On some fresh installations where XDG_CONFIG_SESSION is not defined, and $HOME/.config is not created yet, mesh-cfgclient failed with no hints --- tools/mesh-cfgclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/mesh-cfgclient.c b/tools/mesh-cfgclient.c index 3bd2b673a..b1d091be7 100644 --- a/tools/mesh-cfgclient.c +++ b/tools/mesh-cfgclient.c @@ -2529,8 +2529,10 @@ static bool setup_cfg_storage(void) return false; } } else if (errno == ENOENT) { - if (mkdir(mesh_dir, 0700) != 0) + if (mkdir(mesh_dir, 0700) != 0) { + l_error("Cannot create %s", mesh_dir); return false; + } } else { perror("Cannot open config directory"); return false; -- 2.43.0