[Slackbuilds-users] Sbopkglint failure due wrong permission of a file installed by update-mime-database
B. Watson
urchlay at slackware.uk
Tue Sep 17 16:15:12 UTC 2024
On Tue, 17 Sep 2024, Giancarlo Dessì wrote:
>
> Hi
>
> trying to solve an issue reported by Willy for birdfont package, sbopkglint returns this message:
>
> Running test: 05-basic-sanity...
> --- usr/share/mime should not contain files with executable permission:
> -rwxr-xr-x 1 root root 362 set 17 17:02 usr/share/mime/application/birdfont.xml
> FAILED
>
> I wasn't able to solve this: this file is not included in the package, but it is generated by update-mime-database in doint.sh It is possible to remove the executable permission
> with chmod 644 in doinst.sh but the failure report in sbopkglint remains.
>
> I see also that all xml files installed in /usr/share/mime/application have executable permissions. Why sbopkglint returns this as error!?
Something wrong with your system. Somehow update-mime-database is
generating the file with +x permission. If *all* of them are +x, that
includes the ones from core Slackware (not SBo).
/usr/share/mime/application contains 2664 .xml files on my test system
(hundreds of SBo packages installed), and none of them are executable.
sbopkglint reports it as an error because it *is* an error... not sure
why your update-mime-database is creating +x files, but it shouldn't
be.
More information about the SlackBuilds-users
mailing list