From 2fc68a7cab3b0563b453b93dc5270cfbfa1014a2 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 22 Apr 2026 12:50:28 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Navigator=20Permissions=20-=20absolute?= =?UTF-8?q?=20Pfade=20f=C3=BCr=20chmod/chown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /bin/chmod statt chmod (line 435) - /bin/chown statt chown (line 476) - /bin/chmod -R statt chmod -R für recursive (line 514) Behebt: 'Failed to save permissions' Fehler beim Ändern von Dateiberechtigungen Co-Authored-By: Claude Haiku 4.5 --- backend/services/file_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/services/file_manager.py b/backend/services/file_manager.py index c2c5eb9..f298188 100644 --- a/backend/services/file_manager.py +++ b/backend/services/file_manager.py @@ -432,7 +432,7 @@ class FileManager: mode_int = int(mode, 8) result = subprocess.run( - ["chmod", mode, str(target)], + ["/bin/chmod", mode, str(target)], capture_output=True, timeout=10 ) @@ -473,7 +473,7 @@ class FileManager: chown_spec = owner result = subprocess.run( - ["chown", chown_spec, str(target)], + ["/bin/chown", chown_spec, str(target)], capture_output=True, timeout=10 ) @@ -511,7 +511,7 @@ class FileManager: import subprocess result = subprocess.run( - ["chmod", "-R", mode, str(target)], + ["/bin/chmod", "-R", mode, str(target)], capture_output=True, timeout=30 )