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

Giancarlo Dessì slack at giand.it
Wed Jul 10 08:14:06 UTC 2024


Hi,

I'm updating the slackbuild for new version of QGIS (3.38.0). Usually 
this package is not affected by issues, but for this version this 
failure of sbopkglint occurred:

---usr/share/mime should not contain files with executable permission:
-rwxr-xr-x 1 root root 373 lug 10 09:27 
usr/share/mime/application/geopackage+sqlite3.xml
-rwxr-xr-x 1 root root 383 lug 10 09:27 
usr/share/mime/application/vnd.google-earth.kml+xml.xml
-rwxr-xr-x 1 root root 386 lug 10 09:27 
usr/share/mime/application/vnd.google-earth.kmz.xml
-rwxr-xr-x 1 root root 347 lug 10 09:27 
usr/share/mime/application/x-adobe-mif.xml
-rwxr-xr-x 1 root root 398 lug 10 09:27 
usr/share/mime/application/x-esri-crs.xml
-rwxr-xr-x 1 root root 394 lug 10 09:27 
usr/share/mime/application/x-esri-shape.xml
-rwxr-xr-x 1 root root 376 lug 10 09:27 
usr/share/mime/application/x-mapinfo-mif.xml
-rwxr-xr-x 1 root root 446 lug 10 09:27 
usr/share/mime/application/x-qgis-composer-template.xml
-rwxr-xr-x 1 root root 430 lug 10 09:27 
usr/share/mime/application/x-qgis-layer-definition.xml
-rwxr-xr-x 1 root root 429 lug 10 09:27 
usr/share/mime/application/x-qgis-layer-settings.xml
-rwxr-xr-x 1 root root 451 lug 10 09:27 
usr/share/mime/application/x-qgis-project-container.xml
-rwxr-xr-x 1 root root 441 lug 10 09:27 
usr/share/mime/application/x-qgis-project.xml
-rwxr-xr-x 1 root root 368 lug 10 09:27 
usr/share/mime/application/x-raster-aig.xml
-rwxr-xr-x 1 root root 368 lug 10 09:27 
usr/share/mime/application/x-raster-ecw.xml
-rwxr-xr-x 1 root root 374 lug 10 09:27 
usr/share/mime/application/x-raster-mrsid.xml
-rwxr-xr-x 1 root root 389 lug 10 09:27 usr/share/mime/image/jp2.xml
-rwxr-xr-x 1 root root 383 lug 10 09:27 usr/share/mime/image/jpeg.xml
-rwxr-xr-x 1 root root 383 lug 10 09:27 usr/share/mime/image/tiff.xml
FAILED

These files don't appear in the package tree, so I think they are 
generated or modified during the installation by the following block of 
doinst.sh:

if [ -x /usr/bin/update-mime-database ]; then
   /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

Since doint.sh is the same of current and previous versions of the 
slackbuild, something should be wrong in some files of source, but I 
don't know where I have to check.

Can someone help me? Thanks in advance


-- 
*********************************************************
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/549f2724/attachment.htm>


More information about the SlackBuilds-users mailing list