<div dir="auto">It could be an alias too.<div dir="auto"><br></div><div dir="auto">Heck, shall we use the `/usr/bin` prefix for all of the standard binaries to prevent that?</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 22, 2025, 08:26 B. Watson <<a href="mailto:urchlay@slackware.uk">urchlay@slackware.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Tue, 22 Apr 2025, Willy Sudiarto Raharjo wrote:<br>
<br>
>> <a href="https://slackbuilds.org/repository/15.0/development/git-tools/" rel="noreferrer noreferrer" target="_blank">https://slackbuilds.org/repository/15.0/development/git-tools/</a><br>
>> <br>
>> I get the above error after sudo ./git-tools.SlackBuild  I checked the <br>
>> script, but I cannot deduce what's wrong.  Because -h isn't an option for <br>
>> chmod or find.<br>
>> <br>
>> What do?<br>
><br>
> use "su -" or "su", not "sudo"<br>
<br>
Actually, sudo is fine for SlackBuilds, provided your user has /sbin<br>
and /usr/sbin in $PATH. I wrote the git-tools SlackBuild, and I just<br>
built it with sudo, with no errors.<br>
<br>
To the OP: no idea why your chmod doesn't have -h option. I'm looking<br>
at "man chmod" and I see:<br>
<br>
  Â  Â  Â  -h, --no-dereference<br>
  Â  Â  Â  Â  Â  Â  Â affect each symbolic link, rather than the referent<br>
<br>
Slackware 15.0 and -current both have the -h option to chmod, so your<br>
chmod must be something else.<br>
<br>
Check & see if you've done something like install busybox and put its<br>
binaries in $PATH before /bin and /usr/bin, maybe? As your user, what<br>
does "which chmod" say? Should be "/usr/bin/chmod".<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank" rel="noreferrer">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>