update-mime-database in /sbin?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux