From d592996d353843769a61de3ffb601bf271e7060a4b3cb5a7c28ae317a0f24899 Mon Sep 17 00:00:00 2001 From: Callum Farmer Date: Thu, 30 Jan 2025 10:40:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Solus/budgie-desktop?expand=0&rev=188 --- user-config-path.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/user-config-path.patch b/user-config-path.patch index 473a0f4..eade775 100644 --- a/user-config-path.patch +++ b/user-config-path.patch @@ -0,0 +1,31 @@ +0From bf26ad006f8d41a04eaa98c1076d33b0c99678ba Mon Sep 17 00:00:00 2001 +From: Callum Farmer +Date: Thu, 30 Jan 2025 10:38:35 +0000 +Subject: [PATCH] [labwc bridge] Path not updated after user config created + +Causes permission denied error as it'll try to write to /usr +(Issue occurs on firstboot only) +--- + src/bridges/labwc/labwc_bridge.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/bridges/labwc/labwc_bridge.py b/src/bridges/labwc/labwc_bridge.py +index 17281f52d..b7f5ade65 100644 +--- a/src/bridges/labwc/labwc_bridge.py ++++ b/src/bridges/labwc/labwc_bridge.py +@@ -110,6 +110,7 @@ def __init__(self): + folder = self.user_config("") + os.makedirs(folder, exist_ok=True) + shutil.copy(path, search_path[0]) ++ path = search_path[0] + except Exception as e: + self.log.critical("Failed to copy " + path + " to " + search_path[0]) + self.log.critical(e) +@@ -122,6 +123,7 @@ def __init__(self): + try: + if path != search_path[0]: + shutil.copy(path, search_path[0]) ++ path = search_path[0] + except Exception as e: + self.log.critical("Failed to copy " + path + " to " + search_path[0]) + self.log.critical(e)