summaryrefslogtreecommitdiff
path: root/backend/decky_loader/main.py
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2025-07-28 20:58:59 -0400
committerGitHub <noreply@github.com>2025-07-28 20:58:59 -0400
commit8f41eb93ef80bfbf3851ce8a82ea0f88c87e6c68 (patch)
tree6cbfdf1843dc0aba959e9b76201df149a71964fc /backend/decky_loader/main.py
parent670ae7d8a7d8fc8efc28ce403865177ebf0b715e (diff)
downloaddecky-loader-8f41eb93ef80bfbf3851ce8a82ea0f88c87e6c68.tar.gz
decky-loader-8f41eb93ef80bfbf3851ce8a82ea0f88c87e6c68.zip
Merge commit from forkv3.1.10
* fix incorrect permissions on plugin directories * chown plugin dirs too * fix the stupid * cleanup useless comments
Diffstat (limited to 'backend/decky_loader/main.py')
-rw-r--r--backend/decky_loader/main.py2
1 files changed, 1 insertions, 1 deletions
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: