Skip to content

Commit

Permalink
Remove ineffective flag "-L" for chown
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Sep 18, 2024
1 parent 691eca4 commit d98dca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/templates/file_owner/bash.template
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}}

0 comments on commit d98dca6

Please sign in to comment.