2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 17:02:22 +00:00

Hand /run/confluent/ssh to the confluent user

Fixes #316
This commit is contained in:
Markus Hilger
2026-10-31 02:14:21 +01:00
parent 9186b6418a
commit 905992f054
+1
View File
@@ -49,6 +49,7 @@ async def assure_agent():
except OSError as e:
if e.errno != 17:
raise
os.chown('/run/confluent/ssh', os.stat('/etc/confluent').st_uid, -1)
os.chmod('/run/confluent/ssh', 0o700)
agent_tmpdir = tempfile.mkdtemp(dir='/run/confluent/ssh', prefix='agent.')
os.chmod(agent_tmpdir, 0o700)