From 7f706008f3b01924858bd966e78ce7cd44cd2a1f Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 3 Apr 2020 01:27:04 +1100 Subject: [PATCH] Fix nested HLS directories have permission 0744 doesn't make sense as it allows other processes to read the files but not enter the directory, this change sets the execute bit so other users (such as PHP processes) can access these files. --- hls/ngx_rtmp_hls_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c index 25166cbdc..ebdc129f5 100644 --- a/hls/ngx_rtmp_hls_module.c +++ b/hls/ngx_rtmp_hls_module.c @@ -30,7 +30,7 @@ static ngx_int_t ngx_rtmp_hls_ensure_directory(ngx_rtmp_session_t *s, #define NGX_RTMP_HLS_BUFSIZE (1024*1024) -#define NGX_RTMP_HLS_DIR_ACCESS 0744 +#define NGX_RTMP_HLS_DIR_ACCESS 0755 typedef struct {