From d98dca6248cd175674b923f44e862ab6f392744f Mon Sep 17 00:00:00 2001 From: wqian Date: Wed, 18 Sep 2024 17:02:40 +0100 Subject: [PATCH] Remove ineffective flag "-L" for chown --- shared/templates/file_owner/bash.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/templates/file_owner/bash.template b/shared/templates/file_owner/bash.template index aa4953390c9..56cb47f6db5 100644 --- a/shared/templates/file_owner/bash.template +++ b/shared/templates/file_owner/bash.template @@ -21,6 +21,6 @@ find {{{ FIND_RECURSE_ARGS_SYM }}} {{{ path }}} {{{ FIND_RECURSE_ARGS_DEP }}} -t find -H {{{ path }}} {{{ FIND_RECURSE_ARGS_DEP }}} -type d -exec chown -L {{{ FILEUID }}} {} \; {{%- endif %}} {{%- else %}} -chown -L {{{ FILEUID }}} {{{ path }}} +chown {{{ FILEUID }}} {{{ path }}} {{%- endif %}} {{%- endfor %}}