diff --git a/usr/lib/python3.8/spoc/app.py b/usr/lib/python3.8/spoc/app.py index 174b359..22b8175 100644 --- a/usr/lib/python3.8/spoc/app.py +++ b/usr/lib/python3.8/spoc/app.py @@ -131,7 +131,7 @@ class App: def publish(self, filename): builddir = os.path.dirname(filename) - os.makedirs(PUB_APPS_DIR, 0o700, True) + os.makedirs(PUB_APPS_DIR, 0o755, True) files = repo_publish.TarSizeCounter() archive_path = os.path.join(PUB_APPS_DIR, f'{self.name}.tar.xz') with tarfile.open(archive_path, 'w:xz') as tar: diff --git a/usr/lib/python3.8/spoc/image.py b/usr/lib/python3.8/spoc/image.py index 5344389..6475b17 100644 --- a/usr/lib/python3.8/spoc/image.py +++ b/usr/lib/python3.8/spoc/image.py @@ -73,7 +73,7 @@ class Image: repo_local.register_image(self.name, definition) def publish(self): - os.makedirs(PUB_LAYERS_DIR, 0o700, True) + os.makedirs(PUB_LAYERS_DIR, 0o755, True) files = repo_publish.TarSizeCounter() archive_path = os.path.join(PUB_LAYERS_DIR, f'{self.name}.tar.xz') with tarfile.open(archive_path, 'w:xz') as tar: