From 8f41eb93ef80bfbf3851ce8a82ea0f88c87e6c68 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Mon, 28 Jul 2025 20:58:59 -0400 Subject: Merge commit from fork * fix incorrect permissions on plugin directories * chown plugin dirs too * fix the stupid * cleanup useless comments --- backend/decky_loader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/decky_loader/main.py') diff --git a/backend/decky_loader/main.py b/backend/decky_loader/main.py index 315b7d29..16caca2e 100644 --- a/backend/decky_loader/main.py +++ b/backend/decky_loader/main.py @@ -50,7 +50,7 @@ def chown_plugin_dir(): if not path.exists(plugin_path): # For safety, create the folder before attempting to do anything with it mkdir_as_user(plugin_path) - if not chown(plugin_path, UserType.HOST_USER) or not chmod(plugin_path, 555): + if not chown(plugin_path, UserType.EFFECTIVE_USER, False) or not chmod(plugin_path, 755, False): logger.error(f"chown/chmod exited with a non-zero exit code") if get_chown_plugin_path() == True: -- cgit v1.2.3