View Single Post
Old 02-26-2017, 03:39 AM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's the installer, https://github.com/kovidgoyal/calibr...libre/linux.py

The only call to chmod is on line 738, which is for the calibre un-installer and is used to mark it executable. There is nowhere in the installer that permissions on files in /usr/share/mime are changed. If the permissions on those files in your system are being changed, it is by something other than the installer.

As I said before, the installer does not itself install any mime type files. It calls the xdg-mime system utility to do that. So if mime files are having their permissions changed, it is because xdg-mime (or something it in turn depends on) is doing it.
kovidgoyal is offline   Reply With Quote