From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-devhelp@lists.gentoo.org
Subject: [gentoo-devhelp] How to install MIME types?
Date: Sun, 21 Aug 2011 21:32:13 +0300 [thread overview]
Message-ID: <j2riuc$28o$1@dough.gmane.org> (raw)
I have an XML file that specifies MIME types for an application. In my
ebuild, I install it like this:
insinto /usr/share/mime/packages
doins someapp_mime_types.xml
I then use these calls (from fdo-mime.eclass):
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
However, this results in:
* Updating desktop mime database ...
ACCESS DENIED open_wr: /usr/share/applications/.mimeinfo.cache.ORB20V
* Updating shared mime info database ...
/usr/bin/update-mime-database: I don't have write permission on
/usr/share/mime. Try rerunning me as root.
What am I doing wrong? I *am* running "emerge" as root.
next reply other threads:[~2011-08-21 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-21 18:32 Nikos Chantziaras [this message]
2011-08-25 7:28 ` [gentoo-devhelp] How to install MIME types? Peter Volkov
2011-08-25 10:48 ` [gentoo-devhelp] " Nikos Chantziaras
2011-08-25 12:32 ` Peter Volkov
2011-08-25 12:44 ` Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='j2riuc$28o$1@dough.gmane.org' \
--to=realnc@arcor.de \
--cc=gentoo-devhelp@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox