[Slackbuilds-users] bad permissions in /usr/share/mime
Matteo Bernardini
matteo.bernardini at gmail.com
Wed Jul 10 08:44:07 UTC 2024
Il giorno mer 10 lug 2024 alle ore 10:35 Giancarlo Dessì <slack at giand.it>
ha scritto:
> Il 10/07/24 10:31, Matteo Bernardini ha scritto:
>
> chmod 0644 usr/share/mime/{application,image}/*.xml || true
>
>
> thanks Matteo, I'll try it.
>
> but I'm not sure if I have to add the line after or within the block.
>
if you prefer you can modify the block like this
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
/usr/bin/chmod 0644 usr/share/mime/{application,image}/*.xml >/dev/null
2>&1 || true
fi
Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240710/d4c73018/attachment.htm>
More information about the SlackBuilds-users
mailing list