diff --git a/_layouts/bin.html b/_layouts/bin.html index b700b4b..f25ca25 100644 --- a/_layouts/bin.html +++ b/_layouts/bin.html @@ -28,8 +28,7 @@ layout: common {% capture code %} {%- if function_name == 'suid-enabled' or function_name == 'suid-limited' %} cp $(which {{ bin_name }}) . -sudo chown 0 ./{{ bin_name }} -sudo chmod +s ./{{ bin_name }} +sudo sh -c 'chown 0 ./{{ bin_name }}; chmod +s ./{{ bin_name }}' {% endif %} {{ example.code }} {% endcapture %}