mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-19 17:02:22 +00:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user