[Slackbuilds-users] find in SlackBuilds: again
Andrzej Telszewski
atelszewski at gmail.com
Sun Apr 24 14:39:14 UTC 2016
On 24/04/16 16:32, Willy Sudiarto Raharjo wrote:
>> Are you sure that find in SlackBuilds should have the -L switched on?
>> What if there's source tarball containing soft link to, say, /etc?
>>
>> I ran into this problem using the template SlackBuild. Fortunately, the
>> tarball is mine, it only contained soft link to /tmp and I ran it as
>> regular user.
>>
>> BTW, I had a look at a few SlackBuilds in -current and find does not
>> have -L switched on.
>>
>> What are your thoughts?
>
> That must be the old scripts which never gets updated again
> new or up to date scripts mostly have -L applied already
>
I don't understand what you mean;)
When I wrote -current, I meant Slackware -current.
Should the -L switch be there or not in SlackBuilds.org? :)
Also, there is a difference between the permissions in SlackBuilds.org
and Slackware's -current:
SlackBuilds.org:
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
Slackware's -current:
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o
-perm 400 \) \
-exec chmod 644 {} \;
750 and 640 are not present in Slackware's SlackBuilds.
>
>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
--
Best regards,
Andrzej Telszewski
More information about the SlackBuilds-users
mailing list