mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
wrapper/docker: create .ssh dir with correct perms (700)
This commit is contained in:
parent
068009185c
commit
bb3a7d4881
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class DockerWrapper(BaseWrapper):
|
|||
|
||||
ssh_dir = os.path.join(pathlib.Path.home(), '.ssh')
|
||||
if not os.path.exists(ssh_dir):
|
||||
os.makedirs(ssh_dir)
|
||||
os.makedirs(ssh_dir, mode=0o700)
|
||||
volumes = self.get_bind_mounts_default(wrapped_config)
|
||||
volumes |= dict({config.get_path(vol_name): vol_dest for vol_name, vol_dest in DOCKER_PATHS.items()})
|
||||
docker_cmd = [
|
||||
|
|
Loading…
Add table
Reference in a new issue