Skip to content

Commit

Permalink
Make /var/lib/carthage with explicit permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmans committed Aug 19, 2024
1 parent 9085ea6 commit 65a1ef7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions carthage/podman/container_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ async def start_container_host(self):
home_directory = '/home/'+self.user
if become_privileged_command:
assert ':' not in machine.ssh_login_user
await machine.run_command(
'mkdir',
'-m755',
'-p',
CARTHAGE_SOCKET_DIRECTORY.parent,
_user='root')
await machine.run_command(
'mkdir',
'-m755',
Expand Down

0 comments on commit 65a1ef7

Please sign in to comment.