summaryrefslogtreecommitdiff
path: root/media/library.go
diff options
context:
space:
mode:
authorJames Mills <james@mills.io>2022-08-01 03:22:17 +0000
committerJames Mills <james@mills.io>2022-08-01 03:22:17 +0000
commit35217febfc2c5d6a7e5d5d2b0b3c10a168fb2ed1 (patch)
treea9e7276d1e607646da113a4bf52fbb1698e1818a /media/library.go
parent3b7c29eb8abbc63eb817e5533e40adcc62c5e8da (diff)
Add support for multi-arch binary and docker image releases (#20)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/20
Diffstat (limited to 'media/library.go')
-rw-r--r--media/library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/library.go b/media/library.go
index 6bfedff..7de68e0 100644
--- a/media/library.go
+++ b/media/library.go
@@ -41,7 +41,7 @@ func (lib *Library) AddPath(p *Path) error {
return errors.New("media: duplicate library prefix")
}
}
- if err := os.MkdirAll(p.Path, 07550); err != nil {
+ if err := os.MkdirAll(p.Path, 0755); err != nil {
return fmt.Errorf("error creating library path %s: %w", p.Path, err)
}
lib.Paths[p.Path] = p