Re: [bug #64253] Suggestion - Add support for libmagic and xattr

raf <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <ZHkV38flIkh/[email protected]>
On Thu, Jun 01, 2023 at 07:14:55PM +0200, Andreas Metzler <[email protected]> wrote:

> On 2023-06-01 raf <[email protected]> wrote:
> [...]
> > but both locations are empty. /usr/share/misc/magic is
> > a symlink to /usr/share/file/magic which is empty. I
> > wonder how it works.
> [...]
> 
> file reads from $(datadir)/misc and libmagic-mgc ships
> /usr/lib/file/magic.mgc which is symlinked to /usr/share/misc/magic.mgc.
> 
> cu Andreas

Thanks. On Debian the symlink is in the other direction.

  > l /usr/share/misc/magic.mgc /usr/share/file/magic.mgc /usr/lib/file/magic.mgc
  /usr/lib/file/magic.mgc
  /usr/share/file/magic.mgc -> ../../lib/file/magic.mgc
  /usr/share/misc/magic.mgc -> ../../lib/file/magic.mgc

cheers,
raf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.