Skip to content

Commit

Permalink
Remove ineffective flag "-L" for chgrp
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Sep 18, 2024
1 parent db7b59b commit 691eca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/templates/file_groupowner/bash.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ find {{{ path }}} {{{ FIND_RECURSE_ARGS }}} -type f ! -group {{{ GID_OR_NAME }}}
find -H {{{ path }}} {{{ FIND_RECURSE_ARGS }}} -type d -exec chgrp -L {{{ GID_OR_NAME }}} {} \;
{{%- endif %}}
{{%- else %}}
chgrp -L {{{ GID_OR_NAME }}} {{{ path }}}
chgrp {{{ GID_OR_NAME }}} {{{ path }}}
{{%- endif %}}
{{%- endfor %}}

0 comments on commit 691eca4

Please sign in to comment.