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 )