[Slackbuilds-users] bad permissions in /usr/share/mime
Giancarlo Dessì
slack at giand.it
Wed Jul 10 09:01:57 UTC 2024
Il 10/07/24 10:44, Matteo Bernardini ha scritto:
> 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
Solved, I tried with the line after the block, it works both in -current
and stable
--
*********************************************************
Giancarlo Dessì
https://www.giand.it
https://github.com/giandex
Slackware Linux... because it works!
*********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240710/fb22618f/attachment-0001.htm>
More information about the SlackBuilds-users
mailing list