From a99317cce43756ed3147437dae2cb356fe660b0a Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 3 Jul 2024 16:33:54 +0000 Subject: [PATCH] Fix extraction directory perms mode --- transcoder/src/extract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcoder/src/extract.go b/transcoder/src/extract.go index d12b84a7..536b1e1d 100644 --- a/transcoder/src/extract.go +++ b/transcoder/src/extract.go @@ -26,7 +26,7 @@ func Extract(path string, sha string) (<-chan struct{}, error) { } attachment_path := fmt.Sprintf("%s/%s/att", Settings.Metadata, sha) subs_path := fmt.Sprintf("%s/%s/sub", Settings.Metadata, sha) - os.MkdirAll(attachment_path, 0o644) + os.MkdirAll(attachment_path, 0o755) os.MkdirAll(subs_path, 0o755) // If there is no subtitles, there is nothing to extract (also fonts would be useless).