[Slackbuilds-users] bad permissions in /usr/share/mime

Giancarlo Dessì slack at giand.it
Wed Jul 10 08:48:30 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


Thanks again :-)


-- 
*********************************************************
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/1456678a/attachment.htm>


More information about the SlackBuilds-users mailing list