update-mime-database in /sbin?
Matt McCutchen
matt at mattmccutchen.net
Sun Jul 25 01:07:31 UTC 2010
On Sat, 2010-07-24 at 17:48 -0400, Matthew Miller wrote:
> On Sat, Jul 24, 2010 at 01:39:20PM -0700, Matt McCutchen wrote:
> > > Still belongs in /sbin, unless it's meant to actually be executed directly
> > > by end-users.
> > No. If that were the criterion, update-mime-database would belong
> > in /sbin .
>
> It looks like it probably _does_. From the gnome.org docs:
>
> Understanding how to refresh the MIME database is important for
> administrators who wish to add new MIME types to the system, or otherwise
> modify information about a MIME type. The application update-mime-database
> is intended for this purpose.
No, because unprivileged users may want to run update-mime-database in
their own software installation prefix that they have wired up to
$XDG_DATA_DIRS. I do this myself.
You may point out that ldconfig is in /sbin. That's because the dynamic
linker currently does not support caches in custom prefixes, but such
support would be a natural enhancement that I would request if it became
important to me.
> But that's a long thread I don't want to sidetrack this with.
And so I started a separate thread.
--
Matt
More information about the devel
mailing list