<div dir="ltr">Why worry so much over something so insignificant? Just do whatever Volkerding does.<br><br><a href="https://en.wikipedia.org/wiki/Perfect_is_the_enemy_of_good">https://en.wikipedia.org/wiki/Perfect_is_the_enemy_of_good</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 2:00 AM, Franzen <span dir="ltr"><<a href="mailto:slackbuilds@schoepfer.info" target="_blank">slackbuilds@schoepfer.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-03-13 20:00, Andrzej Telszewski wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 13/03/16 19:46, Ryan P.C. McQuen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Sun, Mar 13, 2016 at 11:36 AM Andrzej Telszewski<br>
<<a href="mailto:atelszewski@gmail.com" target="_blank">atelszewski@gmail.com</a> <mailto:<a href="mailto:atelszewski@gmail.com" target="_blank">atelszewski@gmail.com</a>>> wrote:<br>
<br>
On 13/03/16 19:29, Luís Fernando Carvalho Cavalheiro wrote:<br>
> Well, well... sudo is a example of piece of software (personally<br>
I call sudo "piece of cr..") that relies on strange permissions:<br>
/etc/sudoers needs to be at 440.<br>
><br>
<br>
But you talk about *already* installed software, which is different<br>
situation from the time when the software is being built.<br>
<br>
<br>
<br>
How do you think it got installed in the first place? :^)<br>
<br>
</blockquote>
<br>
The point here is that, permissions of /etc/sudoers could be set after<br>
building and just before creating the package.<br>
<br>
In that case, it would not matter what the permissions of sudoers were<br>
during the build stage.<br>
</blockquote>
<br>
<br></span>
In the sudo.SlackBuild permissions are set in the Makefile, also<br>
after building ...<br>
<br>
make $NUMJOBS || make || exit 1<br>
make install DESTDIR=$PKG || exit 1<br>
<br>
( cd $PKG/usr/bin<br>
chmod 4711 sudo<br>
ln -sf sudo sudoedit<br>
...<br>
<br>
<br>
This is NOT an example where the find-lines before the build do rescue the package any better than the chmod-oneliner.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" rel="noreferrer" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br></div>