|
@@ -18,7 +18,9 @@ Environment=NODE_ENV=production
|
|
|
# Security hardening
|
|
# Security hardening
|
|
|
NoNewPrivileges=true
|
|
NoNewPrivileges=true
|
|
|
PrivateTmp=true
|
|
PrivateTmp=true
|
|
|
-ProtectSystem=strict
|
|
|
|
|
|
|
+ProtectSystem=full
|
|
|
|
|
+# Note: Changed from 'strict' to 'full' to allow shell execution from /usr/bin
|
|
|
|
|
+# 'full' still protects /usr and /boot but allows execution (read-only)
|
|
|
# Note: ProtectHome removed to allow Claude to work with repositories under /home/claude/
|
|
# Note: ProtectHome removed to allow Claude to work with repositories under /home/claude/
|
|
|
# The service runs as 'claude' user which is already restricted to its own home directory
|
|
# The service runs as 'claude' user which is already restricted to its own home directory
|
|
|
ReadWritePaths=/home/claude
|
|
ReadWritePaths=/home/claude
|